Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | PATH := $(CURDIR)/bin:$(CURDIR)/compat:$(PATH) |
| 2 | QUILT_DIR := $(CURDIR)/quilt |
| 3 | QUILTRC := $(CURDIR)/test/test.quiltrc |
| 4 | export QUILT_DIR QUILTRC |
Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame] | 5 | CHECK_ENV := P=patches/; _P=../patches/; export P _P; |
| 6 | CHECK_ENV += QUILT_PC=.pc; export QUILT_PC |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | -include test/.depend |
| 8 | |
| 9 | check-% : test/%.test |
| 10 | @LANG=C; LC_ALL=C; \ |
| 11 | export LANG LC_ALL; \ |
| 12 | $(CHECK_ENV); \ |
| 13 | cd $(<D); \ |
| 14 | ./run -q $(<F) |