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

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

Issue 2809653003: Introduce mkgrokdump to update tools/v8heapconst.py. (Closed)
Patch Set: Created 3 years, 8 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 56 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
57 57
58 DEFAULT_OUT_GN = "out.gn" 58 DEFAULT_OUT_GN = "out.gn"
59 59
60 ARCH_GUESS = utils.DefaultArch() 60 ARCH_GUESS = utils.DefaultArch()
61 61
62 # Map of test name synonyms to lists of test suites. Should be ordered by 62 # Map of test name synonyms to lists of test suites. Should be ordered by
63 # expected runtimes (suites with slow test cases first). These groups are 63 # expected runtimes (suites with slow test cases first). These groups are
64 # invoked in seperate steps on the bots. 64 # invoked in seperate steps on the bots.
65 TEST_MAP = { 65 TEST_MAP = {
66 # This needs to stay in sync with test/bot_default.isolate. 66 # This needs to stay in sync with test/bot_default.isolate.
Michael Starzinger 2017/04/11 09:42:38 According to this comment, something has to be kep
Yang 2017/04/11 09:57:20 Done.
67 "bot_default": [ 67 "bot_default": [
68 "mkgrokdump",
Michael Achenbach 2017/04/11 09:45:54 How slow is this test? If it's faster than 1s, may
68 "debugger", 69 "debugger",
69 "mjsunit", 70 "mjsunit",
70 "cctest", 71 "cctest",
71 "inspector", 72 "inspector",
72 "webkit", 73 "webkit",
73 "fuzzer", 74 "fuzzer",
74 "message", 75 "message",
75 "preparser", 76 "preparser",
76 "intl", 77 "intl",
77 "unittests", 78 "unittests",
78 ], 79 ],
79 # This needs to stay in sync with test/default.isolate. 80 # This needs to stay in sync with test/default.isolate.
Michael Starzinger 2017/04/11 09:42:38 Likewise.
Yang 2017/04/11 09:57:20 Done.
80 "default": [ 81 "default": [
82 "mkgrokdump",
81 "debugger", 83 "debugger",
82 "mjsunit", 84 "mjsunit",
83 "cctest", 85 "cctest",
84 "inspector", 86 "inspector",
85 "fuzzer", 87 "fuzzer",
86 "message", 88 "message",
87 "preparser", 89 "preparser",
88 "intl", 90 "intl",
89 "unittests", 91 "unittests",
90 ], 92 ],
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 "--coverage-dir=%s" % options.sancov_dir]) 925 "--coverage-dir=%s" % options.sancov_dir])
924 except: 926 except:
925 print >> sys.stderr, "Error: Merging sancov files failed." 927 print >> sys.stderr, "Error: Merging sancov files failed."
926 exit_code = 1 928 exit_code = 1
927 929
928 return exit_code 930 return exit_code
929 931
930 932
931 if __name__ == "__main__": 933 if __name__ == "__main__":
932 sys.exit(Main()) 934 sys.exit(Main())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698