Browse Source

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

PUBAPI-1420
Trent Mick 2 years ago
parent
commit
057a784dc3
2 changed files with 5 additions and 3 deletions
  1. +3
    -2
      Makefile
  2. +2
    -1
      package.json

+ 3
- 2
Makefile 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::

+ 2
- 1
package.json 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": {