t/Makefile: build git-lfs-test-server-api as part of integration tests

We want to be sure this test script gets built regularly to avoid
breakage during refactors.  In order to do so, build it as part of the
integration test suite.
This commit is contained in:
brian m. carlson 2018-11-13 15:04:07 +00:00
parent cac2782ac1
commit 44ae87fa9d
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1

@ -19,7 +19,12 @@ TEST_CMDS += ../bin/lfstest-gitserver$X
TEST_CMDS += ../bin/lfstest-standalonecustomadapter$X
TEST_CMDS += ../bin/lfstest-testutils$X
TEST_SRCS = $(wildcard t-*.sh)
# Not used for the integration tests, but build it here anyway to ensure it
# continues to work.
TEST_CMDS += ../bin/git-lfs-test-server-api$X
TEST_SRCS = $(wildcard t-*.sh)
TEST_API_SRCS = $(wildcard git-lfs-test-server-api/*.go)
all : $(DEFAULT_TEST_TARGET)
@ -41,3 +46,6 @@ clean :
../bin/%$X : cmd/%.go
go build -o $@ $^
../bin/git-lfs-test-server-api$X : $(TEST_API_SRCS)
go build -o $@ $^