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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 # and the unit test runner script assumes that the SDK is in PYTHONPATH. | 45 # and the unit test runner script assumes that the SDK is in PYTHONPATH. |
46 sdk_path = _FetchAppEngineSDKSteps(api) | 46 sdk_path = _FetchAppEngineSDKSteps(api) |
47 modified_env = { | 47 modified_env = { |
48 'PYTHONPATH': api.path.pathsep.join(['%(PYTHONPATH)s', str(sdk_path)]) | 48 'PYTHONPATH': api.path.pathsep.join(['%(PYTHONPATH)s', str(sdk_path)]) |
49 } | 49 } |
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 Python Tests', | 55 api.python('Dashboard 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'], | |
58 env=modified_env) | 57 env=modified_env) |
59 api.python('Tracing Python Tests', | 58 api.python('Tracing Python Tests', |
60 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'), | 59 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'), |
61 ['--no-install-hooks']) | 60 ['--no-install-hooks']) |
62 api.python('Tracing Dev Server Tests', | 61 api.python('Tracing Dev Server Tests', |
63 api.path['checkout'].join( | 62 api.path['checkout'].join( |
64 'tracing', 'bin', 'run_dev_server_tests'), | 63 'tracing', 'bin', 'run_dev_server_tests'), |
65 ['--no-install-hooks', '--no-use-local-chrome']) | 64 ['--no-install-hooks', '--no-use-local-chrome']) |
66 api.python('Py-vulcanize Tests', | |
67 api.path['checkout'].join( | |
68 'third_party', 'py_vulcanize', 'bin', 'run_py_tests'), | |
69 ['--no-install-hooks']) | |
70 api.python('Perf Insights Dev Server Tests', | 65 api.python('Perf Insights Dev Server Tests', |
71 api.path['checkout'].join( | 66 api.path['checkout'].join( |
72 'perf_insights', 'bin', 'run_dev_server_tests'), | 67 'perf_insights', 'bin', 'run_dev_server_tests'), |
73 ['--no-install-hooks', '--no-use-local-chrome']) | 68 ['--no-install-hooks', '--no-use-local-chrome']) |
74 api.python('Systrace Tests', | 69 api.python('Systrace Tests', |
75 api.path['checkout'].join('systrace', 'bin', 'run_tests')) | 70 api.path['checkout'].join('systrace', 'bin', 'run_tests')) |
76 if not api.platform.is_win: | 71 if not api.platform.is_win: |
77 # D8/vinn currently unavailable on Windows. | 72 # D8/vinn currently unavailable on Windows. |
78 # TODO(sullivan): Add these tests on Windows when available. | 73 # TODO(sullivan): Add these tests on Windows when available. |
79 api.python('Vinn Tests', | 74 api.python('Vinn Tests', |
(...skipping 13 matching lines...) Expand all Loading... |
93 def GenTests(api): | 88 def GenTests(api): |
94 yield ( | 89 yield ( |
95 api.test('basic') + | 90 api.test('basic') + |
96 api.properties(mastername='master.client.catapult', | 91 api.properties(mastername='master.client.catapult', |
97 buildername='windows', | 92 buildername='windows', |
98 slavename='windows_slave') + | 93 slavename='windows_slave') + |
99 api.step_data('Fetch SDK downloader', | 94 api.step_data('Fetch SDK downloader', |
100 api.gitiles.make_encoded_file( | 95 api.gitiles.make_encoded_file( |
101 '"<simulated contents of get_appengine.py>"')) | 96 '"<simulated contents of get_appengine.py>"')) |
102 ) | 97 ) |
OLD | NEW |