mirror of https://github.com/tc39/test262.git
set npm scripts to run tests
This commit is contained in:
parent
4b25f6fae8
commit
1273d6e5c8
|
@ -32,7 +32,7 @@ execution_steps: &execution_steps
|
|||
- *save_cache
|
||||
- run: ./node_modules/.bin/jsvu --os=linux64 --engines=$hostName
|
||||
- run: cp -r ~/.jsvu r
|
||||
- run: npm test
|
||||
- run: npm run ci
|
||||
|
||||
jobs:
|
||||
"Project lint, generation tests and build":
|
||||
|
|
11
package.json
11
package.json
|
@ -17,6 +17,15 @@
|
|||
"test262-harness": "^6.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "./tools/scripts/ci_test.sh"
|
||||
"ci": "./tools/scripts/ci_test.sh",
|
||||
"jsvu": "jsvu",
|
||||
"test": "test262-harness",
|
||||
"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: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:chakra": "test262-harness -t 8 --hostType=d8 --hostPath=chakra $(npm run diff)",
|
||||
"test:diff:javascriptcore": "test262-harness -t 8 --hostType=d8 --hostPath=javascriptcore $(npm run diff)",
|
||||
"test:diff:xs": "test262-harness -t 8 --hostType=d8 --hostPath=xs $(npm run diff)"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue