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

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

Issue 230743002: Add the ability to disable tests in nosnap mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 366
367 # Find available test suites and read test cases from them. 367 # Find available test suites and read test cases from them.
368 variables = { 368 variables = {
369 "arch": arch, 369 "arch": arch,
370 "asan": options.asan, 370 "asan": options.asan,
371 "deopt_fuzzer": True, 371 "deopt_fuzzer": True,
372 "gc_stress": False, 372 "gc_stress": False,
373 "isolates": options.isolates, 373 "isolates": options.isolates,
374 "mode": mode, 374 "mode": mode,
375 "no_i18n": False, 375 "no_i18n": False,
376 "no_snap": False,
376 "simulator": utils.UseSimulator(arch), 377 "simulator": utils.UseSimulator(arch),
377 "system": utils.GuessOS(), 378 "system": utils.GuessOS(),
378 } 379 }
379 all_tests = [] 380 all_tests = []
380 num_tests = 0 381 num_tests = 0
381 test_id = 0 382 test_id = 0
382 383
383 # Remember test case prototypes for the fuzzing phase. 384 # Remember test case prototypes for the fuzzing phase.
384 test_backup = dict((s, []) for s in suites) 385 test_backup = dict((s, []) for s in suites)
385 386
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 return exit_code 467 return exit_code
467 468
468 except KeyboardInterrupt: 469 except KeyboardInterrupt:
469 return 1 470 return 1
470 471
471 return exit_code 472 return exit_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 | « no previous file | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698