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

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

Issue 2141083003: Add a perf test for async wait and fix a bug in mojo::RunLoop. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oops Created 4 years, 5 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 | « mojo/public/cpp/utility/lib/run_loop.cc ('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 #!/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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 "dart-pkg", 229 "dart-pkg",
230 "packages")]) 230 "packages")])
231 231
232 # Perf tests ----------------------------------------------------------------- 232 # Perf tests -----------------------------------------------------------------
233 233
234 bot_name = "linux_%s" % ("debug" if config.is_debug else "release") 234 bot_name = "linux_%s" % ("debug" if config.is_debug else "release")
235 235
236 if target_os == Config.OS_LINUX and ShouldRunTest(Config.TEST_TYPE_PERF): 236 if target_os == Config.OS_LINUX and ShouldRunTest(Config.TEST_TYPE_PERF):
237 test_names = ["mojo_public_c_system_perftests", 237 test_names = ["mojo_public_c_system_perftests",
238 "mojo_public_cpp_bindings_perftests", 238 "mojo_public_cpp_bindings_perftests",
239 "mojo_public_cpp_environment_perftests",
239 "mojo_edk_system_perftests"] 240 "mojo_edk_system_perftests"]
240 241
241 for test_name in test_names: 242 for test_name in test_names:
242 command = ["python", 243 command = ["python",
243 os.path.join("mojo", "tools", "perf_test_runner.py"), 244 os.path.join("mojo", "tools", "perf_test_runner.py"),
244 "--upload", 245 "--upload",
245 "--server-url", _PERFORMANCE_DASHBOARD_URL, 246 "--server-url", _PERFORMANCE_DASHBOARD_URL,
246 "--bot-name", bot_name, 247 "--bot-name", bot_name,
247 "--test-name", test_name, 248 "--test-name", test_name,
248 "--perf-data-path", 249 "--perf-data-path",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 config = Config(**json.load(args.config_file)) 315 config = Config(**json.load(args.config_file))
315 test_list = GetTestList(config) 316 test_list = GetTestList(config)
316 json.dump(test_list, args.test_list_file, indent=2) 317 json.dump(test_list, args.test_list_file, indent=2)
317 args.test_list_file.write("\n") 318 args.test_list_file.write("\n")
318 319
319 return 0 320 return 0
320 321
321 322
322 if __name__ == "__main__": 323 if __name__ == "__main__":
323 sys.exit(main()) 324 sys.exit(main())
OLDNEW
« no previous file with comments | « mojo/public/cpp/utility/lib/run_loop.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698