From 1e7b2559e445b50edd67b0cb0121b1f96fd51afa Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Sat, 28 Jul 2018 02:12:44 -0400 Subject: [PATCH] Include cid-fmt binary in test/bin. License: MIT Signed-off-by: Kevin Atkinson --- test/bin/Rules.mk | 6 ++++++ test/sharness/Rules.mk | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/test/bin/Rules.mk b/test/bin/Rules.mk index 279b59f21a8..6bfa83e84f1 100644 --- a/test/bin/Rules.mk +++ b/test/bin/Rules.mk @@ -39,6 +39,12 @@ $(d)/multihash: go build -i $(go-flags-with-tags) -o "$@" "gx/ipfs/$(shell gx deps find go-multihash)/go-multihash/multihash" TGTS_$(d) += $(d)/multihash +# cid-fmt is also special +$(d)/cid-fmt: + go build -i $(go-flags-with-tags) -o "$@" "gx/ipfs/$(shell gx deps find go-cid)/go-cid/cid-fmt" +TGTS_$(d) += $(d)/cid-fmt + + $(TGTS_$(d)): $$(DEPS_GO) CLEAN += $(TGTS_$(d)) diff --git a/test/sharness/Rules.mk b/test/sharness/Rules.mk index dc61159e235..c6d6dd83aaf 100644 --- a/test/sharness/Rules.mk +++ b/test/sharness/Rules.mk @@ -6,7 +6,8 @@ T_$(d) = $(sort $(wildcard $(d)/t[0-9][0-9][0-9][0-9]-*.sh)) DEPS_$(d) := test/bin/random test/bin/multihash test/bin/pollEndpoint \ test/bin/iptb test/bin/go-sleep test/bin/random-files \ - test/bin/go-timeout test/bin/hang-fds test/bin/ma-pipe-unidir + test/bin/go-timeout test/bin/hang-fds test/bin/ma-pipe-unidir \ + test/bin/cid-fmt DEPS_$(d) += cmd/ipfs/ipfs DEPS_$(d) += $(d)/clean-test-results DEPS_$(d) += $(SHARNESS_$(d))