Last active
August 21, 2019 09:16
-
-
Save xeioex/3cd6b4a5bd4ed856b753645b063ae282 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone https://github.com/test262-utils/test262-harness-py | |
| cd test262-harness-py | |
| git checkout 0f2acdd882c84cff43b9d60df7574a1901e2cdcd | |
| git clone https://github.com/tc39/test262 | |
| patch -p1 < test262.patch (https://gist.github.com/xeioex/0ad564ce405b6c78883583e04d569885) | |
| python ./src/test262.py --command='<full path to njs cli binary> -q' --tests=./test262/ --strict_only | |
| # LOG=test262_njs_orig.log; rm -fr /tmp/core.15*; python ./src/test262.py \ | |
| # --command=../build/njs -q' | |
| # --tests=./test262/ --strict_only --summary --logname $LOG; grep Summary -A 4 $LOG | |
| # to compare | |
| colordiff -u test262_njs_orig.log test262_njs_after.log | |
| # to get the test content by its name | |
| TEST=$(find ./test262/ | grep 'language/statements/function/S13_A19_T1'); \ | |
| cat test262/harness/assert.js test262/harness/propertyHelper.js \ | |
| test262/harness/sta.js $TEST > test.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment