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 "byteorder": sys.byteorder, |
400 } | 401 } |
401 all_tests = [] | 402 all_tests = [] |
402 num_tests = 0 | 403 num_tests = 0 |
403 test_id = 0 | 404 test_id = 0 |
404 | 405 |
405 # Remember test case prototypes for the fuzzing phase. | 406 # Remember test case prototypes for the fuzzing phase. |
406 test_backup = dict((s, []) for s in suites) | 407 test_backup = dict((s, []) for s in suites) |
407 | 408 |
408 for s in suites: | 409 for s in suites: |
409 s.ReadStatusFile(variables) | 410 s.ReadStatusFile(variables) |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) | 476 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) |
476 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() | 477 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() |
477 runner = execution.Runner(suites, progress_indicator, ctx) | 478 runner = execution.Runner(suites, progress_indicator, ctx) |
478 | 479 |
479 code = runner.Run(options.j) | 480 code = runner.Run(options.j) |
480 return exit_code or code | 481 return exit_code or code |
481 | 482 |
482 | 483 |
483 if __name__ == "__main__": | 484 if __name__ == "__main__": |
484 sys.exit(Main()) | 485 sys.exit(Main()) |
OLD | NEW |