diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /js/src/jit-test/jit_test.py | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/jit-test/jit_test.py')
-rwxr-xr-x | js/src/jit-test/jit_test.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/jit_test.py b/js/src/jit-test/jit_test.py index d9f08a7e15..4a5a0b96da 100755 --- a/js/src/jit-test/jit_test.py +++ b/js/src/jit-test/jit_test.py @@ -368,6 +368,18 @@ def main(argv): op.add_argument( "-z", "--gc-zeal", help="GC zeal mode to use when running the shell" ) + op.add_argument( + "--show-slow", + action="store_true", + help="Show tests taking longer than a minimum time (in seconds).", + ) + op.add_argument( + "--slow-test-threshold", + type=float, + default=5.0, + help="Time in seconds a test can take until it is considered slow " + "(default %(default)s).", + ) options, test_args = op.parse_known_args(argv) js_shell = which(options.js_shell) |