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

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

Issue 141653008: Add infrastructure for skipping tests in GC stress mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments. Created 6 years, 11 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/mjsunit/regress/regress-165637.js ('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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 timeout *= TIMEOUT_SCALEFACTOR[mode] 356 timeout *= TIMEOUT_SCALEFACTOR[mode]
357 ctx = context.Context(arch, mode, shell_dir, 357 ctx = context.Context(arch, mode, shell_dir,
358 mode_flags, options.verbose, 358 mode_flags, options.verbose,
359 timeout, options.isolates, 359 timeout, options.isolates,
360 options.command_prefix, 360 options.command_prefix,
361 options.extra_flags, 361 options.extra_flags,
362 False) 362 False)
363 363
364 # Find available test suites and read test cases from them. 364 # Find available test suites and read test cases from them.
365 variables = { 365 variables = {
366 "arch": arch,
367 "deopt_fuzzer": True,
368 "gc_stress": False,
369 "isolates": options.isolates,
366 "mode": mode, 370 "mode": mode,
367 "arch": arch, 371 "no_i18n": False,
368 "system": utils.GuessOS(), 372 "system": utils.GuessOS(),
369 "isolates": options.isolates,
370 "deopt_fuzzer": True,
371 "no_i18n": False,
372 } 373 }
373 all_tests = [] 374 all_tests = []
374 num_tests = 0 375 num_tests = 0
375 test_id = 0 376 test_id = 0
376 377
377 # Remember test case prototypes for the fuzzing phase. 378 # Remember test case prototypes for the fuzzing phase.
378 test_backup = dict((s, []) for s in suites) 379 test_backup = dict((s, []) for s in suites)
379 380
380 for s in suites: 381 for s in suites:
381 s.ReadStatusFile(variables) 382 s.ReadStatusFile(variables)
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 return exit_code 461 return exit_code
461 462
462 except KeyboardInterrupt: 463 except KeyboardInterrupt:
463 return 1 464 return 1
464 465
465 return exit_code 466 return exit_code
466 467
467 468
468 if __name__ == "__main__": 469 if __name__ == "__main__":
469 sys.exit(Main()) 470 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/mjsunit/regress/regress-165637.js ('k') | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698