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

Side by Side Diff: client/site_tests/setup/control

Issue 563022: wifi h/w capabilities test (Closed)
Patch Set: fix tarball Created 10 years, 10 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 unified diff | Download patch
« no previous file with comments | « client/site_tests/network_WiFiCaps/network_WiFiCaps.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 AUTHOR = "Eric Li <ericli@chromium.org>" 1 AUTHOR = "Eric Li <ericli@chromium.org>"
2 NAME = "AutotestClientSetup" 2 NAME = "AutotestClientSetup"
3 TEST_CATEGORY = "Functional" 3 TEST_CATEGORY = "Functional"
4 TEST_CLASS = "General" 4 TEST_CLASS = "General"
5 TEST_TYPE = "client" 5 TEST_TYPE = "client"
6 TIME = "MEDIUM" 6 TIME = "MEDIUM"
7 DOC="""Setup a bunch of autotest tests into a platform dependent chromeos build 7 DOC="""Setup a bunch of autotest tests into a platform dependent chromeos build
8 (chroot) environment. 8 (chroot) environment.
9 """ 9 """
10 10
11 from autotest_lib.client.bin import setup_job 11 from autotest_lib.client.bin import setup_job
12 12
13 setup_job.initialize(job) 13 setup_job.initialize(job)
14 14
15 # include all tests here. 15 # include all tests here.
16 chromeos_tests = [ 16 chromeos_tests = [
17 'compilebench', 17 'compilebench',
18 'dbench', 18 'dbench',
19 'disktest', 19 'disktest',
20 'gl_APICheck', 20 'gl_APICheck',
21 'gpu_SanAngeles', 21 'gpu_SanAngeles',
22 'ltp', 22 'ltp',
23 'memory_Throughput', 23 'memory_Throughput',
24 'network_WiFiCaps',
24 'unixbench', 25 'unixbench',
25 'storage_Fio', 26 'storage_Fio',
26 'storage_SsdDetection', 27 'storage_SsdDetection',
27 'system_AutoLogin', 28 'system_AutoLogin',
28 'system_SAT', 29 'system_SAT',
29 ] 30 ]
30 failed_tests = [] 31 failed_tests = []
31 32
32 for cros_test in chromeos_tests: 33 for cros_test in chromeos_tests:
33 # Try to build all tests even though some fail 34 # Try to build all tests even though some fail
34 35
35 try: 36 try:
36 setup_job.setup_test(cros_test, job) 37 setup_job.setup_test(cros_test, job)
37 except CmdError, e: 38 except CmdError, e:
38 failed_tests.append(cros_test) 39 failed_tests.append(cros_test)
39 40
40 print '' 41 print ''
41 print '########################## SUMMARY #####################################' 42 print '########################## SUMMARY #####################################'
42 43
43 # Print out tests that failed 44 # Print out tests that failed
44 if (len(failed_tests) > 0): 45 if (len(failed_tests) > 0):
45 print 'Finished building -- The following tests failed' 46 print 'Finished building -- The following tests failed'
46 for failed_test in failed_tests: 47 for failed_test in failed_tests:
47 print failed_test 48 print failed_test
48 else: 49 else:
49 print 'Finished building -- All tests built successfully' 50 print 'Finished building -- All tests built successfully'
50 print '######################### END SUMMARY ##################################' 51 print '######################### END SUMMARY ##################################'
51 print '' 52 print ''
OLDNEW
« no previous file with comments | « client/site_tests/network_WiFiCaps/network_WiFiCaps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698