get 'make testall' to include node v4.0 (hacked up for my rc1 build in ~/src/node)
This commit is contained in:
parent
602c0c315c
commit
2a078fec7a
1 changed files with 7 additions and 10 deletions
17
Makefile
17
Makefile
|
@ -31,7 +31,7 @@ NON_DTRACE_TEST_FILES := $(shell ls -1 test/*.test.js | grep -v dtrace | xargs)
|
||||||
#---- Targets
|
#---- Targets
|
||||||
|
|
||||||
all $(NODEUNIT):
|
all $(NODEUNIT):
|
||||||
npm install
|
npm install $(NPM_INSTALL_FLAGS)
|
||||||
|
|
||||||
# Ensure all version-carrying files have the same version.
|
# Ensure all version-carrying files have the same version.
|
||||||
.PHONY: versioncheck
|
.PHONY: versioncheck
|
||||||
|
@ -87,16 +87,13 @@ test: $(NODEUNIT)
|
||||||
# Note: 'test10' is last so (if all is well) I end up with a binary
|
# Note: 'test10' is last so (if all is well) I end up with a binary
|
||||||
# dtrace-provider build for node 0.10 (my current version).
|
# dtrace-provider build for node 0.10 (my current version).
|
||||||
.PHONY: testall
|
.PHONY: testall
|
||||||
testall: testiojs30 test012 test010
|
testall: test40 testiojs30 test012 test010
|
||||||
|
|
||||||
.PHONY: testalliojs
|
|
||||||
testalliojs:
|
|
||||||
ls -d $(NODEOPT)/iojs-?.? | while read dir; do \
|
|
||||||
echo; \
|
|
||||||
echo "# Test $$dir (`$$dir/bin/node --version`)"; \
|
|
||||||
PATH="$$dir/bin:$(PATH)" make distclean all test; \
|
|
||||||
done
|
|
||||||
|
|
||||||
|
.PHONY: test40
|
||||||
|
test40:
|
||||||
|
@echo "# Test node 4.0.x (with node `$(NODEOPT)/node-4.0/bin/node --version`)"
|
||||||
|
@$(NODEOPT)/node-4.0/bin/node --version | grep '^v4\.0\.'
|
||||||
|
PATH="$(NODEOPT)/node-4.0/bin:$(PATH)" NPM_INSTALL_FLAGS="--nodedir=$(HOME)/src/node" make distclean all test
|
||||||
.PHONY: testiojs30
|
.PHONY: testiojs30
|
||||||
testiojs30:
|
testiojs30:
|
||||||
@echo "# Test iojs 3.0 (`$(NODEOPT)/iojs-3.0/bin/node --version`)"
|
@echo "# Test iojs 3.0 (`$(NODEOPT)/iojs-3.0/bin/node --version`)"
|
||||||
|
|
Loading…
Reference in a new issue