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

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

Issue 1101683002: Add an --omit-quit flag to d8 for Emscripten's sake. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Revert SKIP Created 5 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
« no previous file with comments | « test/mjsunit/mjsunit.status ('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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 "running tests locally.") 345 "running tests locally.")
346 options.no_network = True 346 options.no_network = True
347 options.command_prefix = shlex.split(options.command_prefix) 347 options.command_prefix = shlex.split(options.command_prefix)
348 options.extra_flags = shlex.split(options.extra_flags) 348 options.extra_flags = shlex.split(options.extra_flags)
349 349
350 if options.gc_stress: 350 if options.gc_stress:
351 options.extra_flags += GC_STRESS_FLAGS 351 options.extra_flags += GC_STRESS_FLAGS
352 352
353 if options.asan: 353 if options.asan:
354 options.extra_flags.append("--invoke-weak-callbacks") 354 options.extra_flags.append("--invoke-weak-callbacks")
355 options.extra_flags.append("--omit-quit")
355 356
356 if options.tsan: 357 if options.tsan:
357 VARIANTS = ["default"] 358 VARIANTS = ["default"]
358 suppressions_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 359 suppressions_file = os.path.join(os.path.dirname(os.path.abspath(__file__)),
359 'sanitizers', 'tsan_suppressions.txt') 360 'sanitizers', 'tsan_suppressions.txt')
360 tsan_options = '%s suppressions=%s' % ( 361 tsan_options = '%s suppressions=%s' % (
361 os.environ.get('TSAN_OPTIONS', ''), suppressions_file) 362 os.environ.get('TSAN_OPTIONS', ''), suppressions_file)
362 os.environ['TSAN_OPTIONS'] = tsan_options 363 os.environ['TSAN_OPTIONS'] = tsan_options
363 364
364 if options.j == 0: 365 if options.j == 0:
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 exit_code = runner.Run(options.j) 638 exit_code = runner.Run(options.j)
638 overall_duration = time.time() - start_time 639 overall_duration = time.time() - start_time
639 640
640 if options.time: 641 if options.time:
641 verbose.PrintTestDurations(suites, overall_duration) 642 verbose.PrintTestDurations(suites, overall_duration)
642 return exit_code 643 return exit_code
643 644
644 645
645 if __name__ == "__main__": 646 if __name__ == "__main__":
646 sys.exit(Main()) 647 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698