| 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 "gc_stress": False, | 390 "gc_stress": False, |
| 391 "isolates": options.isolates, | 391 "isolates": options.isolates, |
| 392 "mode": mode, | 392 "mode": mode, |
| 393 "no_i18n": False, | 393 "no_i18n": False, |
| 394 "no_snap": False, | 394 "no_snap": False, |
| 395 "simulator": utils.UseSimulator(arch), | 395 "simulator": utils.UseSimulator(arch), |
| 396 "system": utils.GuessOS(), | 396 "system": utils.GuessOS(), |
| 397 "tsan": False, | 397 "tsan": False, |
| 398 "msan": False, | 398 "msan": False, |
| 399 "dcheck_always_on": options.dcheck_always_on, | 399 "dcheck_always_on": options.dcheck_always_on, |
| 400 "novfp3": False, |
| 400 "byteorder": sys.byteorder, | 401 "byteorder": sys.byteorder, |
| 401 } | 402 } |
| 402 all_tests = [] | 403 all_tests = [] |
| 403 num_tests = 0 | 404 num_tests = 0 |
| 404 test_id = 0 | 405 test_id = 0 |
| 405 | 406 |
| 406 # Remember test case prototypes for the fuzzing phase. | 407 # Remember test case prototypes for the fuzzing phase. |
| 407 test_backup = dict((s, []) for s in suites) | 408 test_backup = dict((s, []) for s in suites) |
| 408 | 409 |
| 409 for s in suites: | 410 for s in suites: |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) | 477 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) |
| 477 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() | 478 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() |
| 478 runner = execution.Runner(suites, progress_indicator, ctx) | 479 runner = execution.Runner(suites, progress_indicator, ctx) |
| 479 | 480 |
| 480 code = runner.Run(options.j) | 481 code = runner.Run(options.j) |
| 481 return exit_code or code | 482 return exit_code or code |
| 482 | 483 |
| 483 | 484 |
| 484 if __name__ == "__main__": | 485 if __name__ == "__main__": |
| 485 sys.exit(Main()) | 486 sys.exit(Main()) |
| OLD | NEW |