summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/jit_test.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /js/src/jit-test/jit_test.py
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-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-xjs/src/jit-test/jit_test.py12
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)