diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile index 96f7aa8..9ec75d3 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,18 +1,26 @@ TESTS=$(shell ls -tr *.test) QUILTRC=$(CURDIR)/test.quiltrc -export QUILTRC +QUILT=$(CURDIR)/../quilt +LIB=$(CURDIR)/../lib +export QUILTRC QUILT LIB +PATH:=$(CURDIR)/../bin:$(PATH) ifneq ($(shell . $(QUILTRC) ; echo $$QUILT_PATCHES_PREFIX),) P=patches/ _P=../patches/ export P _P endif -$(warning P=$(P)) -all: $(TESTS) +all: $(TESTS) remove_symlink .PHONY: $(TESTS) -$(TESTS): +$(TESTS): scripts_symlink @echo "[$@]" @LANG=POSIX ./run $@ + +scripts_symlink: + @[ -e ../quilt/scripts ] || ln -s ../scripts ../quilt/scripts + +remove_symlink: + @rm -f quilt/scripts |