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

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

Issue 1604203002: Add a library suitable for libfuzzer with a small unit test runner shell (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates 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 # 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 # Base dir of the v8 checkout to be used as cwd. 54 # Base dir of the v8 checkout to be used as cwd.
55 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 55 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
56 56
57 ARCH_GUESS = utils.DefaultArch() 57 ARCH_GUESS = utils.DefaultArch()
58 58
59 # Map of test name synonyms to lists of test suites. Should be ordered by 59 # Map of test name synonyms to lists of test suites. Should be ordered by
60 # expected runtimes (suites with slow test cases first). These groups are 60 # expected runtimes (suites with slow test cases first). These groups are
61 # invoked in seperate steps on the bots. 61 # invoked in seperate steps on the bots.
62 TEST_MAP = { 62 TEST_MAP = {
63 "bot_default": [ 63 "bot_default": [
Michael Achenbach 2016/01/25 15:25:13 This should stay in sync with: https://code.google
64 "mjsunit", 64 "mjsunit",
65 "cctest", 65 "cctest",
66 "webkit", 66 "webkit",
67 "message", 67 "message",
68 "preparser", 68 "preparser",
69 "intl", 69 "intl",
70 "unittests", 70 "unittests",
71 "fuzzer",
Michael Achenbach 2016/01/25 15:05:53 This is currently ordered by expected slowest -> f
71 ], 72 ],
72 "default": [ 73 "default": [
73 "mjsunit", 74 "mjsunit",
74 "cctest", 75 "cctest",
75 "message", 76 "message",
76 "preparser", 77 "preparser",
77 "intl", 78 "intl",
78 "unittests", 79 "unittests",
80 "fuzzer",
79 ], 81 ],
80 "ignition": [ 82 "ignition": [
81 "mjsunit", 83 "mjsunit",
82 "cctest", 84 "cctest",
83 ], 85 ],
84 "optimize_for_size": [ 86 "optimize_for_size": [
85 "mjsunit", 87 "mjsunit",
86 "cctest", 88 "cctest",
87 "webkit", 89 "webkit",
88 "intl", 90 "intl",
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 if exit_code == 1 and options.json_test_results: 809 if exit_code == 1 and options.json_test_results:
808 print("Force exit code 0 after failures. Json test results file generated " 810 print("Force exit code 0 after failures. Json test results file generated "
809 "with failure information.") 811 "with failure information.")
810 exit_code = 0 812 exit_code = 0
811 813
812 return exit_code 814 return exit_code
813 815
814 816
815 if __name__ == "__main__": 817 if __name__ == "__main__":
816 sys.exit(Main()) 818 sys.exit(Main())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698