test/Makefile: build go-sleep
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Christian Couder committed
Jun 6, 2015 at 23:11 UTC
fd449af227e0d84c1e6778baf5d763100149ef0a
2 files changed
+7
-2
test/Makefile
+6
-1
@@ -1,11 +1,12 @@
1
2
-BINS = bin/random bin/multihash bin/ipfs bin/pollEndpoint bin/iptb
2
+BINS = bin/random bin/multihash bin/ipfs bin/pollEndpoint bin/iptb bin/go-sleep
3
IPFS_ROOT = ../
4
IPFS_CMD = ../cmd/ipfs
5
RANDOM_SRC = ../Godeps/_workspace/src/github.com/jbenet/go-random
6
MULTIHASH_SRC = ../Godeps/_workspace/src/github.com/jbenet/go-multihash
7
IPTB_SRC = ../Godeps/_workspace/src/github.com/whyrusleeping/iptb
8
POLLENDPOINT_SRC= ../thirdparty/pollEndpoint
9
+GOSLEEP_SRC = ../Godeps/_workspace/src/github.com/chriscool/go-sleep
10
11
# User might want to override those on the command line
12
GOFLAGS =
@@ -41,6 +42,10 @@ bin/iptb: $(call find_go_files, $(IPTB_SRC)) IPFS-BUILD-OPTIONS
42
@echo "*** installing $@ ***"
43
go build $(GOFLAGS) -o bin/iptb $(IPTB_SRC)
44
45
+bin/go-sleep: $(call find_go_files, $(GOSLEEP_SRC)) IPFS-BUILD-OPTIONS
46
+ @echo "*** installing $@ ***"
47
+ go build $(GOFLAGS) -o bin/go-sleep $(GOSLEEP_SRC)
48
+
49
test: test_expensive
50
51
test_expensive: verify_gofmt
test/sharness/Makefile
+1
-1
@@ -8,7 +8,7 @@
8
9
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
10
BINS = bin/random bin/multihash bin/ipfs bin/pollEndpoint \
11
- bin/iptb
11
+ bin/iptb bin/go-sleep
12
SHARNESS = lib/sharness/sharness.sh
13
IPFS_ROOT = ../..
14