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

Side by Side Diff: tools/run-deopt-fuzzer.py

Issue 412853002: Add tsan support to v8's gyp and test driver. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « build/standalone.gypi ('k') | tools/run-tests.py » ('j') | 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 "arch": arch, 381 "arch": arch,
382 "asan": options.asan, 382 "asan": options.asan,
383 "deopt_fuzzer": True, 383 "deopt_fuzzer": True,
384 "gc_stress": False, 384 "gc_stress": False,
385 "isolates": options.isolates, 385 "isolates": options.isolates,
386 "mode": mode, 386 "mode": mode,
387 "no_i18n": False, 387 "no_i18n": False,
388 "no_snap": False, 388 "no_snap": False,
389 "simulator": utils.UseSimulator(arch), 389 "simulator": utils.UseSimulator(arch),
390 "system": utils.GuessOS(), 390 "system": utils.GuessOS(),
391 "tsan": False,
391 } 392 }
392 all_tests = [] 393 all_tests = []
393 num_tests = 0 394 num_tests = 0
394 test_id = 0 395 test_id = 0
395 396
396 # Remember test case prototypes for the fuzzing phase. 397 # Remember test case prototypes for the fuzzing phase.
397 test_backup = dict((s, []) for s in suites) 398 test_backup = dict((s, []) for s in suites)
398 399
399 for s in suites: 400 for s in suites:
400 s.ReadStatusFile(variables) 401 s.ReadStatusFile(variables)
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) 467 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests)
467 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() 468 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]()
468 runner = execution.Runner(suites, progress_indicator, ctx) 469 runner = execution.Runner(suites, progress_indicator, ctx)
469 470
470 code = runner.Run(options.j) 471 code = runner.Run(options.j)
471 return exit_code or code 472 return exit_code or code
472 473
473 474
474 if __name__ == "__main__": 475 if __name__ == "__main__":
475 sys.exit(Main()) 476 sys.exit(Main())
OLDNEW
« no previous file with comments | « build/standalone.gypi ('k') | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698