Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: client/site_tests/suite_Factory/control.full

Issue 2857012: Batched update of factory tests. (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: finished comment Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/site_tests/suite_Factory/control.config ('k') | client/site_tests/suite_Factory/control.reboot » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/suite_Factory/control.full
diff --git a/client/site_tests/suite_Factory/control.full b/client/site_tests/suite_Factory/control.full
deleted file mode 100644
index d3531c153e67bb5a7591d780b577078b11c953e6..0000000000000000000000000000000000000000
--- a/client/site_tests/suite_Factory/control.full
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-AUTHOR = "Chrome OS Team"
-NAME = "Factory"
-TIME = "LONG"
-TEST_CATEGORY = "Functional"
-TEST_CLASS = "suite"
-TEST_TYPE = "client"
-
-DOC = """
-This test suite runs automated client-side manufacturing tests.
-"""
-
-
-# Hack to work around autotest's obsession with GRUB.
-def do_nothing(tag):
- pass
-job.bootloader.set_default = do_nothing
-job.bootloader.boot_once = do_nothing
-
-
-# This is where we start.
-def step_init():
- step_functional_test()
-
-
-# We can report failure on crash, by leaving
-# 'step_crashed' in the next reboot slot.
-def step_crashed():
- job.run_test('factory_Fail')
-
-
-# Do quick functionality and config tests.
-def step_functional_test():
- # Qualified Component Check
- job.run_test('hardware_Components', approved_db='qualified_components')
-
- # Firmware write protect, developer mode.
- job.run_test('hardware_GPIOSwitches')
-
- step_runin()
-
-
-# Do longer runin tests.
-def step_runin():
- # Drop caches before hardware_SAT.
- job.drop_caches_between_iterations = True
- job.run_test('hardware_SAT')
- job.drop_caches_between_iterations = False
-
- # Reboot here for no particular reason.
- job.next_step([step_manual])
- job.reboot()
-
-
-# Do touch tests.
-def step_manual():
- # More manual tests to be added here.
-
- job.run_test('factory_ShowTestResults')
-
« no previous file with comments | « client/site_tests/suite_Factory/control.config ('k') | client/site_tests/suite_Factory/control.reboot » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698