diff --git a/test/Makefile b/test/Makefile index ae898c51b..f35aeb3eb 100644 --- a/test/Makefile +++ b/test/Makefile @@ -24,6 +24,7 @@ test: test_expensive test_expensive: cd sharness && make TEST_EXPENSIVE=1 cd 3nodetest && make + cd dependencies && make test_cheap: cd sharness && make diff --git a/test/dependencies/Makefile b/test/dependencies/Makefile new file mode 100644 index 000000000..5aa1f3556 --- /dev/null +++ b/test/dependencies/Makefile @@ -0,0 +1,16 @@ + +all: restore + +restore: + @echo "*** $@ ***" + which godep + mkdir -p tmp_gopath + OLD_GOPATH="$$GOPATH" + export GOPATH=$$(pwd)/tmp_gopath + cd ../.. + godep restore + cd - + rm -rf tmp_gopath + export GOPATH="$$OLD_GOPATH" + +.PHONY: all restore