| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 | 366 |
| 367 # Find available test suites and read test cases from them. | 367 # Find available test suites and read test cases from them. |
| 368 variables = { | 368 variables = { |
| 369 "arch": arch, | 369 "arch": arch, |
| 370 "asan": options.asan, | 370 "asan": options.asan, |
| 371 "deopt_fuzzer": True, | 371 "deopt_fuzzer": True, |
| 372 "gc_stress": False, | 372 "gc_stress": False, |
| 373 "isolates": options.isolates, | 373 "isolates": options.isolates, |
| 374 "mode": mode, | 374 "mode": mode, |
| 375 "no_i18n": False, | 375 "no_i18n": False, |
| 376 "no_snap": False, |
| 376 "simulator": utils.UseSimulator(arch), | 377 "simulator": utils.UseSimulator(arch), |
| 377 "system": utils.GuessOS(), | 378 "system": utils.GuessOS(), |
| 378 } | 379 } |
| 379 all_tests = [] | 380 all_tests = [] |
| 380 num_tests = 0 | 381 num_tests = 0 |
| 381 test_id = 0 | 382 test_id = 0 |
| 382 | 383 |
| 383 # Remember test case prototypes for the fuzzing phase. | 384 # Remember test case prototypes for the fuzzing phase. |
| 384 test_backup = dict((s, []) for s in suites) | 385 test_backup = dict((s, []) for s in suites) |
| 385 | 386 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 return exit_code | 467 return exit_code |
| 467 | 468 |
| 468 except KeyboardInterrupt: | 469 except KeyboardInterrupt: |
| 469 return 1 | 470 return 1 |
| 470 | 471 |
| 471 return exit_code | 472 return exit_code |
| 472 | 473 |
| 473 | 474 |
| 474 if __name__ == "__main__": | 475 if __name__ == "__main__": |
| 475 sys.exit(Main()) | 476 sys.exit(Main()) |
| OLD | NEW |