OLD | NEW |
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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "tsan": False, |
| 392 "msan": False, |
392 } | 393 } |
393 all_tests = [] | 394 all_tests = [] |
394 num_tests = 0 | 395 num_tests = 0 |
395 test_id = 0 | 396 test_id = 0 |
396 | 397 |
397 # Remember test case prototypes for the fuzzing phase. | 398 # Remember test case prototypes for the fuzzing phase. |
398 test_backup = dict((s, []) for s in suites) | 399 test_backup = dict((s, []) for s in suites) |
399 | 400 |
400 for s in suites: | 401 for s in suites: |
401 s.ReadStatusFile(variables) | 402 s.ReadStatusFile(variables) |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) | 468 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) |
468 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() | 469 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() |
469 runner = execution.Runner(suites, progress_indicator, ctx) | 470 runner = execution.Runner(suites, progress_indicator, ctx) |
470 | 471 |
471 code = runner.Run(options.j) | 472 code = runner.Run(options.j) |
472 return exit_code or code | 473 return exit_code or code |
473 | 474 |
474 | 475 |
475 if __name__ == "__main__": | 476 if __name__ == "__main__": |
476 sys.exit(Main()) | 477 sys.exit(Main()) |
OLD | NEW |