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

Side by Side Diff: mojo/tools/get_test_list.py

Issue 1709333002: Remove mojom_fetcher. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Central list of tests to run (as appropriate for a given config). Add tests 6 """Central list of tests to run (as appropriate for a given config). Add tests
7 to run by modifying this file. 7 to run by modifying this file.
8 8
9 Note that this file is both imported (by mojob.py) and run directly (via a 9 Note that this file is both imported (by mojob.py) and run directly (via a
10 recipe).""" 10 recipe)."""
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 os.path.join("mojo", "tools", 148 os.path.join("mojo", "tools",
149 "run_mojo_python_bindings_tests.py"), 149 "run_mojo_python_bindings_tests.py"),
150 "--build-dir=" + build_dir]) 150 "--build-dir=" + build_dir])
151 151
152 AddEntry("Mojom translator python tests", 152 AddEntry("Mojom translator python tests",
153 ["python", 153 ["python",
154 os.path.join("mojo", "tools", 154 os.path.join("mojo", "tools",
155 "run_mojom_translator_python_tests.py"), 155 "run_mojom_translator_python_tests.py"),
156 "--build-dir=" + build_dir]) 156 "--build-dir=" + build_dir])
157 157
158 # mojo tools unit tests:
159 if ShouldRunTest(Config.TEST_TYPE_DEFAULT, Config.TEST_TYPE_UNIT, "tools"):
160 AddEntry("Mojo tools unit tests",
161 ["python", os.path.join("mojo", "tools", "testing",
162 "mojom_fetcher",
163 "mojom_fetcher_tests.py")])
164
165 # Observatory tests (Linux-only): 158 # Observatory tests (Linux-only):
166 if target_os == Config.OS_LINUX and ShouldRunTest(Config.TEST_TYPE_DEFAULT): 159 if target_os == Config.OS_LINUX and ShouldRunTest(Config.TEST_TYPE_DEFAULT):
167 AddEntry("Dart Observatory tests", 160 AddEntry("Dart Observatory tests",
168 ["python", 161 ["python",
169 os.path.join("mojo", "dart", "unittests", "observatory_tester", 162 os.path.join("mojo", "dart", "unittests", "observatory_tester",
170 "runner.py"), 163 "runner.py"),
171 "--build-dir=" + build_dir, 164 "--build-dir=" + build_dir,
172 "--dart-exe=third_party/dart-sdk/dart-sdk/bin/dart"]) 165 "--dart-exe=third_party/dart-sdk/dart-sdk/bin/dart"])
173 AddEntry("Dart HTTP Load test", 166 AddEntry("Dart HTTP Load test",
174 ["python", 167 ["python",
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 config = Config(**json.load(args.config_file)) 292 config = Config(**json.load(args.config_file))
300 test_list = GetTestList(config) 293 test_list = GetTestList(config)
301 json.dump(test_list, args.test_list_file, indent=2) 294 json.dump(test_list, args.test_list_file, indent=2)
302 args.test_list_file.write("\n") 295 args.test_list_file.write("\n")
303 296
304 return 0 297 return 0
305 298
306 299
307 if __name__ == "__main__": 300 if __name__ == "__main__":
308 sys.exit(main()) 301 sys.exit(main())
OLDNEW
« no previous file with comments | « mojo/public/tools/mojom_fetcher/pylib/fetcher/repository.py ('k') | mojo/tools/testing/mojom_fetcher/dependency_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698