OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 DEPS = [ | 5 DEPS = [ |
6 'bot_update', | 6 'bot_update', |
7 'gclient', | 7 'gclient', |
8 'gitiles', | 8 'gitiles', |
9 'path', | 9 'path', |
10 'platform', | 10 'platform', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 api.path['checkout'].join('catapult_build', 'bin', 'run_py_tests')) | 52 api.path['checkout'].join('catapult_build', 'bin', 'run_py_tests')) |
53 api.python('Util Tests', | 53 api.python('Util Tests', |
54 api.path['checkout'].join('base', 'util', 'run_tests.py')) | 54 api.path['checkout'].join('base', 'util', 'run_tests.py')) |
55 api.python('Dashboard Python Tests', | 55 api.python('Dashboard Python Tests', |
56 api.path['checkout'].join('dashboard', 'bin', 'run_py_tests'), | 56 api.path['checkout'].join('dashboard', 'bin', 'run_py_tests'), |
57 ['--no-install-hooks'], | 57 ['--no-install-hooks'], |
58 env=modified_env) | 58 env=modified_env) |
59 api.python('Tracing Python Tests', | 59 api.python('Tracing Python Tests', |
60 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'), | 60 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'), |
61 ['--no-install-hooks']) | 61 ['--no-install-hooks']) |
62 api.python('Tracing Dev Server Tests: Chrome Stable', | 62 api.python('Tracing Dev Server Tests', |
63 api.path['checkout'].join( | 63 api.path['checkout'].join( |
64 'tracing', 'bin', 'run_dev_server_tests'), | 64 'tracing', 'bin', 'run_dev_server_tests'), |
65 ['--no-install-hooks', | 65 ['--no-install-hooks', '--no-use-local-chrome']) |
66 '--no-use-local-chrome', | |
67 '--channel=stable']) | |
68 api.python('Tracing Dev Server Tests: Chrome Canary', | |
69 api.path['checkout'].join( | |
70 'tracing', 'bin', 'run_dev_server_tests'), | |
71 ['--no-install-hooks', | |
72 '--no-use-local-chrome', | |
73 '--channel=canary']) | |
74 api.python('Py-vulcanize Tests', | 66 api.python('Py-vulcanize Tests', |
75 api.path['checkout'].join( | 67 api.path['checkout'].join( |
76 'third_party', 'py_vulcanize', 'bin', 'run_py_tests'), | 68 'third_party', 'py_vulcanize', 'bin', 'run_py_tests'), |
77 ['--no-install-hooks']) | 69 ['--no-install-hooks']) |
78 api.python('Perf Insights Dev Server Tests: Chrome Stable', | 70 api.python('Perf Insights Dev Server Tests', |
79 api.path['checkout'].join( | 71 api.path['checkout'].join( |
80 'perf_insights', 'bin', 'run_dev_server_tests'), | 72 'perf_insights', 'bin', 'run_dev_server_tests'), |
81 ['--no-install-hooks', | 73 ['--no-install-hooks', '--no-use-local-chrome']) |
82 '--no-use-local-chrome', | |
83 '--channel=stable']) | |
84 api.python('Perf Insights Dev Server Tests: Chrome Canary', | |
85 api.path['checkout'].join( | |
86 'perf_insights', 'bin', 'run_dev_server_tests'), | |
87 ['--no-install-hooks', | |
88 '--no-use-local-chrome', | |
89 '--channel=canary']) | |
90 api.python('Systrace Tests', | 74 api.python('Systrace Tests', |
91 api.path['checkout'].join('systrace', 'bin', 'run_tests')) | 75 api.path['checkout'].join('systrace', 'bin', 'run_tests')) |
92 if not api.platform.is_win: | 76 if not api.platform.is_win: |
93 # D8/vinn currently unavailable on Windows. | 77 # D8/vinn currently unavailable on Windows. |
94 # TODO(sullivan): Add these tests on Windows when available. | 78 # TODO(sullivan): Add these tests on Windows when available. |
95 api.python('Vinn Tests', | 79 api.python('Vinn Tests', |
96 api.path['checkout'].join('third_party', 'vinn', 'run_test')) | 80 api.path['checkout'].join('third_party', 'vinn', 'run_test')) |
97 api.python('Tracing D8 Tests', | 81 api.python('Tracing D8 Tests', |
98 api.path['checkout'].join('tracing', 'bin', 'run_vinn_tests')) | 82 api.path['checkout'].join('tracing', 'bin', 'run_vinn_tests')) |
99 api.python('Perf Vinn Insights Tests', | 83 api.python('Perf Vinn Insights Tests', |
100 api.path['checkout'].join( | 84 api.path['checkout'].join( |
101 'perf_insights', 'bin', 'run_vinn_tests')) | 85 'perf_insights', 'bin', 'run_vinn_tests')) |
102 # TODO(nduca): re-enable these if they should be working on Windows. | 86 # TODO(nduca): re-enable these if they should be working on Windows. |
103 api.python('Perf Insights Python Tests', | 87 api.python('Perf Insights Python Tests', |
104 api.path['checkout'].join( | 88 api.path['checkout'].join( |
105 'perf_insights', 'bin', 'run_py_tests'), | 89 'perf_insights', 'bin', 'run_py_tests'), |
106 ['--no-install-hooks']) | 90 ['--no-install-hooks']) |
107 | 91 |
108 | 92 |
109 def GenTests(api): | 93 def GenTests(api): |
110 yield ( | 94 yield ( |
111 api.test('basic') + | 95 api.test('basic') + |
112 api.properties(mastername='master.client.catapult', | 96 api.properties(mastername='master.client.catapult', |
113 buildername='windows', | 97 buildername='windows', |
114 slavename='windows_slave') + | 98 slavename='windows_slave') + |
115 api.step_data('Fetch SDK downloader', | 99 api.step_data('Fetch SDK downloader', |
116 api.gitiles.make_encoded_file( | 100 api.gitiles.make_encoded_file( |
117 '"<simulated contents of get_appengine.py>"')) | 101 '"<simulated contents of get_appengine.py>"')) |
118 ) | 102 ) |
OLD | NEW |