Commit f3ad2c95 authored by Steven Allen's avatar Steven Allen

run os builds as a part of the test_go_* targets

We were doing this as part of the `test` target but we don't run that on CI (or
at least not on Travis).

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent bf305493
......@@ -2,7 +2,7 @@ include mk/header.mk
IPFS_BIN_$(d) := $(call go-curr-pkg-tgt)
TGT_BIN += $(IPFS_BIN_$(d))
TEST += $(d)-try-build
TEST_GO_BUILD += $(d)-try-build
CLEAN += $(IPFS_BIN_$(d))
PATH := $(realpath $(d)):$(PATH)
......
......@@ -9,6 +9,7 @@ GOTFLAGS ?=
DEPS_GO :=
TEST_GO :=
TEST_GO_BUILD :=
CHECK_GO :=
go-pkg-name=$(shell $(GOCC) list $(go-tags) github.com/ipfs/go-ipfs/$(1))
......@@ -35,7 +36,7 @@ test_go_race: GOTFLAGS += -race
test_go_race: test_go_expensive
.PHONY: test_go_race
test_go_expensive: $$(DEPS_GO)
test_go_expensive: $$(TEST_GO_BUILD) $$(DEPS_GO)
$(GOCC) test $(go-flags-with-tags) $(GOTFLAGS) ./...
.PHONY: test_go_expensive
TEST_GO += test_go_expensive
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment