test: install random locally for travis.
Juan Batiz-Benet committed
Nov 7, 2014 at 16:33 UTC
04efbb9a5526d71ed7dcd30b04983f9753db7821
1 file changed
+3
-3
test/Makefile
+3
-3
@@ -5,7 +5,6 @@
5
#
6
7
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
8
-RANDOM=${GOPATH}/bin/random
8
9
all: clean deps $(T) aggregate
10
@@ -21,7 +20,7 @@ aggregate:
20
@echo "*** $@ ***"
21
./test-aggregate-results.sh
22
24
-deps: ipfs sharness.sh ${RANDOM}
23
+deps: ipfs sharness.sh random
24
25
# phony to ensure we re-build it every time we run tests
26
ipfs:
@@ -34,7 +33,8 @@ sharness.sh:
33
34
.PHONY: all clean $(T) aggregate ipfs
35
37
-${RANDOM}:
36
+random:
37
@echo "*** installing $@ ***"
38
go get github.com/jbenet/go-random/random
39
go install github.com/jbenet/go-random/random
40
+ cp `which random` random