Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: tools/run-tests.py

Issue 735723006: Conditional flags for tests - set JS stack size for simulators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix nits Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698