joyent/node-triton#225 improve 'make test-in-parallel'

This commit is contained in:
Trent Mick 2017-08-09 14:26:25 -07:00
parent 3f24e06cf6
commit 057a784dc3
2 changed files with 5 additions and 3 deletions

View File

@ -37,8 +37,9 @@ test-integration:
.PHONY: test-in-parallel
test-in-parallel:
NODE_NDEBUG= prove -j15 -e ./node_modules/.bin/tape \
test/unit/*.test.js test/integration/*.test.js
ls test/unit/*.test.js test/integration/*.test.js \
| parallel ./node_modules/.bin/tape \
| ./node_modules/.bin/tap-summary --no-ansi --no-progress
.PHONY: clean
clean::

View File

@ -32,7 +32,8 @@
"wordwrap": "1.0.0"
},
"devDependencies": {
"tape": "4.2.0"
"tape": "4.2.0",
"tap-summary": "3.0.2"
},
"main": "./lib",
"scripts": {