diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2006-01-14 04:27:21 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2006-01-14 04:27:21 +0000 |
commit | 64f092c0a46b3d592db231947b930e9c1a5aa524 (patch) | |
tree | f02a492015d7201ca9bfc98f347e816df034e54e /test | |
parent | c31c2b03f9cb66981908c9048eb586d2917856af (diff) | |
download | quilt-64f092c0a46b3d592db231947b930e9c1a5aa524.tar.gz |
- Use the quilt version in the source tree instead of the
installed version for running the test suite.
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 |