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

Side by Side Diff: tools/run-tests.py

Issue 475233005: Setup heap-unittests and runtime-unittests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also add heap-unittests. Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « test/runtime-unittests/testcfg.py ('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 # 2 #
3 # Copyright 2012 the V8 project authors. All rights reserved. 3 # Copyright 2012 the V8 project authors. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 from testrunner.local import progress 44 from testrunner.local import progress
45 from testrunner.local import testsuite 45 from testrunner.local import testsuite
46 from testrunner.local import utils 46 from testrunner.local import utils
47 from testrunner.local import verbose 47 from testrunner.local import verbose
48 from testrunner.network import network_execution 48 from testrunner.network import network_execution
49 from testrunner.objects import context 49 from testrunner.objects import context
50 50
51 51
52 ARCH_GUESS = utils.DefaultArch() 52 ARCH_GUESS = utils.DefaultArch()
53 DEFAULT_TESTS = ["mjsunit", "fuzz-natives", "base-unittests", 53 DEFAULT_TESTS = ["mjsunit", "fuzz-natives", "base-unittests",
54 "cctest", "compiler-unittests", "message", "preparser"] 54 "cctest", "compiler-unittests", "heap-unittests",
55 "runtime-unittests", "message", "preparser"]
55 TIMEOUT_DEFAULT = 60 56 TIMEOUT_DEFAULT = 60
56 TIMEOUT_SCALEFACTOR = {"debug" : 4, 57 TIMEOUT_SCALEFACTOR = {"debug" : 4,
57 "release" : 1 } 58 "release" : 1 }
58 59
59 # Use this to run several variants of the tests. 60 # Use this to run several variants of the tests.
60 VARIANT_FLAGS = { 61 VARIANT_FLAGS = {
61 "default": [], 62 "default": [],
62 "stress": ["--stress-opt", "--always-opt"], 63 "stress": ["--stress-opt", "--always-opt"],
63 "turbofan": ["--turbo-filter=*", "--always-opt"], 64 "turbofan": ["--turbo-filter=*", "--always-opt"],
64 "nocrankshaft": ["--nocrankshaft"]} 65 "nocrankshaft": ["--nocrankshaft"]}
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 exit_code = runner.Run(options.j) 542 exit_code = runner.Run(options.j)
542 overall_duration = time.time() - start_time 543 overall_duration = time.time() - start_time
543 544
544 if options.time: 545 if options.time:
545 verbose.PrintTestDurations(suites, overall_duration) 546 verbose.PrintTestDurations(suites, overall_duration)
546 return exit_code 547 return exit_code
547 548
548 549
549 if __name__ == "__main__": 550 if __name__ == "__main__":
550 sys.exit(Main()) 551 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/runtime-unittests/testcfg.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698