fixup! set npm scripts to run tests

This commit is contained in:
Leo Balter 2019-04-25 13:34:12 -04:00 committed by Rick Waldron
parent 1273d6e5c8
commit 7a21a1bd5e
1 changed files with 3 additions and 4 deletions

View File

@ -18,14 +18,13 @@
}, },
"scripts": { "scripts": {
"ci": "./tools/scripts/ci_test.sh", "ci": "./tools/scripts/ci_test.sh",
"jsvu": "jsvu",
"test": "test262-harness", "test": "test262-harness",
"diff": "git diff --diff-filter ACMR --name-only master -- test/", "diff": "git diff --diff-filter ACMR --name-only master -- test/",
"test:diff": "npm run test:diff:v8 && npm run test:diff:spidermonkey && npm run test:diff:chakra && npm run test:diff:javascriptcore", "test:diff": "npm run test:diff:v8 && npm run test:diff:spidermonkey && npm run test:diff:chakra && npm run test:diff:javascriptcore",
"test:diff:v8": "test262-harness -t 8 --hostType=d8 --hostPath=v8 $(npm run diff)", "test:diff:v8": "test262-harness -t 8 --hostType=d8 --hostPath=v8 $(npm run diff)",
"test:diff:spidermonkey": "test262-harness -t 8 --hostType=jsshell --hostPath=spidermonkey $(npm run diff)", "test:diff:spidermonkey": "test262-harness -t 8 --hostType=jsshell --hostPath=spidermonkey $(npm run diff)",
"test:diff:chakra": "test262-harness -t 8 --hostType=d8 --hostPath=chakra $(npm run diff)", "test:diff:chakra": "test262-harness -t 8 --hostType=ch --hostPath=chakra $(npm run diff)",
"test:diff:javascriptcore": "test262-harness -t 8 --hostType=d8 --hostPath=javascriptcore $(npm run diff)", "test:diff:javascriptcore": "test262-harness -t 8 --hostType=jsc --hostPath=javascriptcore $(npm run diff)",
"test:diff:xs": "test262-harness -t 8 --hostType=d8 --hostPath=xs $(npm run diff)" "test:diff:xs": "test262-harness -t 8 --hostType=xs --hostPath=xs $(npm run diff)"
} }
} }