Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit daf36ed

Browse files
committed
Shell script to automate running test262/intl402
1 parent d80ecd6 commit daf36ed

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ cldr/
33

44
# test262 compiled python files
55
*.pyc
6+
7+
# Ignore test262 output
8+
*.log

tests/run402

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
command -v d8 >/dev/null 2>&1 || { echo >&2 "Could not find the d8 executable in your path."; exit 1; }
4+
command -v python >/dev/null 2>&1 || { echo >&2 "Could not find python in your path."; exit 1; }
5+
6+
INTL=../Intl.min.js
7+
LOCALES=../locale-data/jsonp/de-DE.js
8+
TESTDIR=./test262
9+
TEST262="$TESTDIR/tools/packaging/test262.py"
10+
11+
python $TEST262 --command "d8 $INTL $LOCALES" --tests="$TESTDIR" --summary intl402 > ./test262.log

0 commit comments

Comments
 (0)