| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 options.extra_flags, | 484 options.extra_flags, |
| 485 options.no_i18n, | 485 options.no_i18n, |
| 486 options.random_seed, | 486 options.random_seed, |
| 487 options.no_sorting, | 487 options.no_sorting, |
| 488 options.rerun_failures_count, | 488 options.rerun_failures_count, |
| 489 options.rerun_failures_max, | 489 options.rerun_failures_max, |
| 490 options.predictable) | 490 options.predictable) |
| 491 | 491 |
| 492 # TODO(all): Combine "simulator" and "simulator_run". | 492 # TODO(all): Combine "simulator" and "simulator_run". |
| 493 simulator_run = not options.dont_skip_simulator_slow_tests and \ | 493 simulator_run = not options.dont_skip_simulator_slow_tests and \ |
| 494 arch in ['arm64', 'arm', 'mips'] and ARCH_GUESS and arch != ARCH_GUESS | 494 arch in ['arm64', 'arm', 'mipsel', 'mips', 'mips64el'] and \ |
| 495 ARCH_GUESS and arch != ARCH_GUESS |
| 495 # Find available test suites and read test cases from them. | 496 # Find available test suites and read test cases from them. |
| 496 variables = { | 497 variables = { |
| 497 "arch": arch, | 498 "arch": arch, |
| 498 "asan": options.asan, | 499 "asan": options.asan, |
| 499 "deopt_fuzzer": False, | 500 "deopt_fuzzer": False, |
| 500 "gc_stress": options.gc_stress, | 501 "gc_stress": options.gc_stress, |
| 501 "isolates": options.isolates, | 502 "isolates": options.isolates, |
| 502 "mode": mode, | 503 "mode": mode, |
| 503 "no_i18n": options.no_i18n, | 504 "no_i18n": options.no_i18n, |
| 504 "no_snap": options.no_snap, | 505 "no_snap": options.no_snap, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 exit_code = runner.Run(options.j) | 581 exit_code = runner.Run(options.j) |
| 581 overall_duration = time.time() - start_time | 582 overall_duration = time.time() - start_time |
| 582 | 583 |
| 583 if options.time: | 584 if options.time: |
| 584 verbose.PrintTestDurations(suites, overall_duration) | 585 verbose.PrintTestDurations(suites, overall_duration) |
| 585 return exit_code | 586 return exit_code |
| 586 | 587 |
| 587 | 588 |
| 588 if __name__ == "__main__": | 589 if __name__ == "__main__": |
| 589 sys.exit(Main()) | 590 sys.exit(Main()) |
| OLD | NEW |