We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm run test262
1 parent 12e4d52 commit 7f7c19aCopy full SHA for 7f7c19a
test/test262.sh
@@ -2,8 +2,14 @@
2
# Note that this script is only expected to be run via `npm run test262`, not by
3
# being manually executed.
4
set -e
5
+TESTS_FROM_ENV="$TESTS"
6
+TESTS="**/*.js"
7
+if [ $# -ne 0 ]; then
8
+ TESTS="$@";
9
+elif [ ! -z "$TESTS_FROM_ENV" ]; then
10
+ TESTS="$TESTS_FROM_ENV";
11
+fi
12
-TESTS=${TESTS:-"*/Temporal/**/*.js"}
13
TIMEOUT=${TIMEOUT:-10000}
14
15
if [ "$(uname)" = 'Darwin' ]; then
@@ -27,5 +33,5 @@ test262-harness \
27
33
--prelude "../../dist/script.js" \
28
34
--timeout "$TIMEOUT" \
29
35
--preprocessor ../../test/preprocessor.test262.cjs \
30
- "$TESTS" \
36
+ "*/Temporal/$TESTS" \
31
37
| ../../test/parseResults.js
0 commit comments