@cryptotaxi247 / kubo / commits / 31d07f0f7

Add "test/dependencies" dir and "godep restore" test

License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>

Christian Couder committed Jan 18, 2015 at 10:34 UTC 31d07f0f7b17e753e2b4060ba1f1606ab1496d29
2 files changed +17
test/Makefile
+1
@@ -24,6 +24,7 @@ test: test_expensive
24 test_expensive:
25 cd sharness && make TEST_EXPENSIVE=1
26 cd 3nodetest && make
27 + cd dependencies && make
28
29 test_cheap:
30 cd sharness && make
test/dependencies/Makefile new
+16
@@ -0,0 +1,16 @@
1 +
2 +all: restore
3 +
4 +restore:
5 + @echo "*** $@ ***"
6 + which godep
7 + mkdir -p tmp_gopath
8 + OLD_GOPATH="$$GOPATH"
9 + export GOPATH=$$(pwd)/tmp_gopath
10 + cd ../..
11 + godep restore
12 + cd -
13 + rm -rf tmp_gopath
14 + export GOPATH="$$OLD_GOPATH"
15 +
16 +.PHONY: all restore