Update Makefile to specify dependencies properly for tests

This commit is contained in:
Patrick J Cherry
2016-10-06 15:40:15 +01:00
parent deb8f2c53b
commit 5a1bc21088

View File

@@ -100,10 +100,10 @@ check_objs: $(CHECK_OBJ)
check_bins: $(CHECK_BINS)
check: $(CHECK_BINS)
r=true ; for bin in $^; do $$bin || r=false; done ; $$r
check: $(OBJS) $(CHECK_BINS)
r=true ; for bin in $(CHECK_BINS); do $$bin || r=false; done ; $$r
acceptance:
acceptance: build
cd tests/acceptance && RUBYOPT='-I.' ruby nbd_scenarios -v
test: check acceptance