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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 "mode": MODES[mode]["status_mode"], | 599 "mode": MODES[mode]["status_mode"], |
600 "no_i18n": options.no_i18n, | 600 "no_i18n": options.no_i18n, |
601 "no_snap": options.no_snap, | 601 "no_snap": options.no_snap, |
602 "simulator_run": simulator_run, | 602 "simulator_run": simulator_run, |
603 "simulator": utils.UseSimulator(arch), | 603 "simulator": utils.UseSimulator(arch), |
604 "system": utils.GuessOS(), | 604 "system": utils.GuessOS(), |
605 "tsan": options.tsan, | 605 "tsan": options.tsan, |
606 "msan": options.msan, | 606 "msan": options.msan, |
607 "dcheck_always_on": options.dcheck_always_on, | 607 "dcheck_always_on": options.dcheck_always_on, |
608 "novfp3": options.novfp3, | 608 "novfp3": options.novfp3, |
| 609 "predictable": options.predictable, |
609 "byteorder": sys.byteorder, | 610 "byteorder": sys.byteorder, |
610 } | 611 } |
611 all_tests = [] | 612 all_tests = [] |
612 num_tests = 0 | 613 num_tests = 0 |
613 for s in suites: | 614 for s in suites: |
614 s.ReadStatusFile(variables) | 615 s.ReadStatusFile(variables) |
615 s.ReadTestCases(ctx) | 616 s.ReadTestCases(ctx) |
616 if len(args) > 0: | 617 if len(args) > 0: |
617 s.FilterTestCasesByArgs(args) | 618 s.FilterTestCasesByArgs(args) |
618 all_tests += s.tests | 619 all_tests += s.tests |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 verbose.PrintTestDurations(suites, overall_duration) | 700 verbose.PrintTestDurations(suites, overall_duration) |
700 | 701 |
701 if num_tests == 0: | 702 if num_tests == 0: |
702 print("Warning: no tests were run!") | 703 print("Warning: no tests were run!") |
703 | 704 |
704 return exit_code | 705 return exit_code |
705 | 706 |
706 | 707 |
707 if __name__ == "__main__": | 708 if __name__ == "__main__": |
708 sys.exit(Main()) | 709 sys.exit(Main()) |
OLD | NEW |