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:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /js/src/jit-test/jit_test.py
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 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)