update 'make testall' to test on node 4, 0.12, 0.10. Not node 5 yet because I get errors still

This commit is contained in:
Trent Mick 2016-01-27 22:04:34 -08:00
parent c6d805f107
commit 2c9c83d4c3
2 changed files with 14 additions and 12 deletions

View file

@ -111,7 +111,7 @@ Bunyan shall have categories of [issue
labels](https://github.com/trentm/node-bunyan/labels) named "$category-$value". labels](https://github.com/trentm/node-bunyan/labels) named "$category-$value".
An issue should have max *one* label from each set. Users of Google Code's An issue should have max *one* label from each set. Users of Google Code's
dearly departed issue tracker may remember this kind of thing. This is a dearly departed issue tracker may remember this kind of thing. This is a
poorman's version of structure issue tracker metadata. poorman's version of structured issue tracker metadata.
I'm inclined to *not* do priorities right now. *Possibly* we'll use GitHub I'm inclined to *not* do priorities right now. *Possibly* we'll use GitHub
milestones to basically set targets for upcoming releases. But otherwise my milestones to basically set targets for upcoming releases. But otherwise my

View file

@ -83,21 +83,23 @@ test: $(NODEUNIT)
$(NODEUNIT) $(NON_DTRACE_TEST_FILES) $(NODEUNIT) $(NON_DTRACE_TEST_FILES)
# Test will all node supported versions (presumes install locations I use on # Test will all node supported versions (presumes install locations I use on
# my machine). # my machine -- "~/opt/node-VER"):
# 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: test40 testiojs30 test012 test010 testall: test4 test012 test010
.PHONY: test40 #XXX Still need NPM_INSTALL_FLAGS thing?
test40: .PHONY: test5
@echo "# Test node 4.0.x (with node `$(NODEOPT)/node-4.0/bin/node --version`)" test5:
@$(NODEOPT)/node-4.0/bin/node --version | grep '^v4\.0\.' @echo "# Test node 5.x (with node `$(NODEOPT)/node-5/bin/node --version`)"
PATH="$(NODEOPT)/node-4.0/bin:$(PATH)" NPM_INSTALL_FLAGS="--nodedir=$(HOME)/src/node" make distclean all test @$(NODEOPT)/node-5/bin/node --version | grep '^v5\.'
.PHONY: testiojs30 PATH="$(NODEOPT)/node-5/bin:$(PATH)" NPM_INSTALL_FLAGS="--nodedir=$(HOME)/src/node" make distclean all test
testiojs30: .PHONY: test4
@echo "# Test iojs 3.0 (`$(NODEOPT)/iojs-3.0/bin/node --version`)" test4:
PATH="$(NODEOPT)/iojs-3.0/bin:$(PATH)" make distclean all test @echo "# Test node 4.x (with node `$(NODEOPT)/node-4/bin/node --version`)"
@$(NODEOPT)/node-4/bin/node --version | grep '^v4\.'
PATH="$(NODEOPT)/node-4/bin:$(PATH)" NPM_INSTALL_FLAGS="--nodedir=$(HOME)/src/node" make distclean all test
.PHONY: test012 .PHONY: test012
test012: test012:
@echo "# Test node 0.12.x (with node `$(NODEOPT)/node-0.12/bin/node --version`)" @echo "# Test node 0.12.x (with node `$(NODEOPT)/node-0.12/bin/node --version`)"