Only set up LD_PRELOAD for tests that actually need it.
This commit is contained in:
5
Makefile
5
Makefile
@@ -85,8 +85,7 @@ check: $(OBJS) $(CHECK_BINS)
|
||||
r=true ; for bin in $(CHECK_BINS); do $$bin || r=false; done ; $$r
|
||||
|
||||
acceptance: build
|
||||
$(MAKE) -C tests/acceptance/ld_preloads all
|
||||
cd tests/acceptance && LD_PRELOADS=$$(echo ld_preloads/*.o) RUBYOPT='-I.' ruby nbd_scenarios -v
|
||||
cd tests/acceptance && RUBYOPT='-I.' ruby nbd_scenarios -v
|
||||
|
||||
test: check acceptance
|
||||
|
||||
@@ -109,8 +108,6 @@ install:
|
||||
|
||||
clean:
|
||||
rm -rf build/*
|
||||
$(RM) $(LD_PRELOAD_OBJ)
|
||||
|
||||
|
||||
.PHONY: clean objs check_objs all server proxy check_bins check doc build test acceptance
|
||||
|
||||
|
Reference in New Issue
Block a user