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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 api.python('Build Python Tests', | 51 api.python('Build Python Tests', |
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 Dev Server Tests Stable', | 55 api.python('Dashboard Dev Server Tests Stable', |
56 api.path['checkout'].join( | 56 api.path['checkout'].join( |
57 'dashboard', 'bin', 'run_dev_server_tests'), | 57 'dashboard', 'bin', 'run_dev_server_tests'), |
58 ['--no-install-hooks', '--no-use-local-chrome', | 58 ['--no-install-hooks', '--no-use-local-chrome', |
59 '--channel=stable']) | 59 '--channel=stable']) |
| 60 api.python('Dashboard Dev Server Tests Canary', |
| 61 api.path['checkout'].join( |
| 62 'dashboard', 'bin', 'run_dev_server_tests'), |
| 63 ['--no-install-hooks', '--no-use-local-chrome', |
| 64 '--channel=canary']) |
60 api.python('Dashboard Python Tests', | 65 api.python('Dashboard Python Tests', |
61 api.path['checkout'].join('dashboard', 'bin', 'run_py_tests'), | 66 api.path['checkout'].join('dashboard', 'bin', 'run_py_tests'), |
62 ['--no-install-hooks'], | 67 ['--no-install-hooks'], |
63 env=modified_env) | 68 env=modified_env) |
64 api.python('Tracing Python Tests', | 69 api.python('Tracing Python Tests', |
65 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'), | 70 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'), |
66 ['--no-install-hooks']) | 71 ['--no-install-hooks']) |
67 api.python('Tracing Dev Server Tests', | 72 api.python('Tracing Dev Server Tests Stable', |
68 api.path['checkout'].join( | 73 api.path['checkout'].join( |
69 'tracing', 'bin', 'run_dev_server_tests'), | 74 'tracing', 'bin', 'run_dev_server_tests'), |
70 ['--no-install-hooks', '--no-use-local-chrome']) | 75 ['--no-install-hooks', |
| 76 '--no-use-local-chrome', |
| 77 '--channel=stable']) |
| 78 api.python('Tracing Dev Server Tests Canary', |
| 79 api.path['checkout'].join( |
| 80 'tracing', 'bin', 'run_dev_server_tests'), |
| 81 ['--no-install-hooks', |
| 82 '--no-use-local-chrome', |
| 83 '--channel=canary']) |
71 api.python('Py-vulcanize Tests', | 84 api.python('Py-vulcanize Tests', |
72 api.path['checkout'].join( | 85 api.path['checkout'].join( |
73 'third_party', 'py_vulcanize', 'bin', 'run_py_tests'), | 86 'third_party', 'py_vulcanize', 'bin', 'run_py_tests'), |
74 ['--no-install-hooks']) | 87 ['--no-install-hooks']) |
75 api.python('Perf Insights Dev Server Tests', | 88 api.python('Perf Insights Dev Server Tests Stable', |
76 api.path['checkout'].join( | 89 api.path['checkout'].join( |
77 'perf_insights', 'bin', 'run_dev_server_tests'), | 90 'perf_insights', 'bin', 'run_dev_server_tests'), |
78 ['--no-install-hooks', '--no-use-local-chrome']) | 91 ['--no-install-hooks', |
| 92 '--no-use-local-chrome', |
| 93 '--channel=stable']) |
| 94 api.python('Perf Insights Dev Server Tests Canary', |
| 95 api.path['checkout'].join( |
| 96 'perf_insights', 'bin', 'run_dev_server_tests'), |
| 97 ['--no-install-hooks', |
| 98 '--no-use-local-chrome', |
| 99 '--channel=canary']) |
79 api.python('Systrace Tests', | 100 api.python('Systrace Tests', |
80 api.path['checkout'].join('systrace', 'bin', 'run_tests')) | 101 api.path['checkout'].join('systrace', 'bin', 'run_tests')) |
81 if not api.platform.is_win: | 102 if not api.platform.is_win: |
82 # D8/vinn currently unavailable on Windows. | 103 # D8/vinn currently unavailable on Windows. |
83 # TODO(sullivan): Add these tests on Windows when available. | 104 # TODO(sullivan): Add these tests on Windows when available. |
84 api.python('Vinn Tests', | 105 api.python('Vinn Tests', |
85 api.path['checkout'].join('third_party', 'vinn', 'run_test')) | 106 api.path['checkout'].join('third_party', 'vinn', 'run_test')) |
86 api.python('Tracing D8 Tests', | 107 api.python('Tracing D8 Tests', |
87 api.path['checkout'].join('tracing', 'bin', 'run_vinn_tests')) | 108 api.path['checkout'].join('tracing', 'bin', 'run_vinn_tests')) |
88 api.python('Perf Vinn Insights Tests', | 109 api.python('Perf Vinn Insights Tests', |
89 api.path['checkout'].join( | 110 api.path['checkout'].join( |
90 'perf_insights', 'bin', 'run_vinn_tests')) | 111 'perf_insights', 'bin', 'run_vinn_tests')) |
91 # TODO(nduca): re-enable these if they should be working on Windows. | 112 # TODO(nduca): re-enable these if they should be working on Windows. |
92 api.python('Perf Insights Python Tests', | 113 api.python('Perf Insights Python Tests', |
93 api.path['checkout'].join( | 114 api.path['checkout'].join( |
94 'perf_insights', 'bin', 'run_py_tests'), | 115 'perf_insights', 'bin', 'run_py_tests'), |
95 ['--no-install-hooks']) | 116 ['--no-install-hooks']) |
96 | 117 |
97 | 118 |
98 def GenTests(api): | 119 def GenTests(api): |
99 yield ( | 120 yield ( |
100 api.test('basic') + | 121 api.test('basic') + |
101 api.properties(mastername='master.client.catapult', | 122 api.properties(mastername='master.client.catapult', |
102 buildername='windows', | 123 buildername='windows', |
103 slavename='windows_slave') + | 124 slavename='windows_slave') + |
104 api.step_data('Fetch SDK downloader', | 125 api.step_data('Fetch SDK downloader', |
105 api.gitiles.make_encoded_file( | 126 api.gitiles.make_encoded_file( |
106 '"<simulated contents of get_appengine.py>"')) | 127 '"<simulated contents of get_appengine.py>"')) |
107 ) | 128 ) |
OLD | NEW |