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

This commit is contained in:
Trent Mick 2017-08-09 14:26:25 -07:00
förälder 3f24e06cf6
incheckning 057a784dc3
2 ändrade filer med 5 tillägg och 3 borttagningar

Visa fil

@ -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::

Visa fil

@ -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": {