diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-07-23 08:06:43 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-07-23 08:06:43 -0700 |
commit | b2a47642713286c195d2e4fd27b67019a0cba411 (patch) | |
tree | 18f0d330e20e3a416cda7b1f7f7ae35bba7a2221 /Makefile | |
parent | 956785645ee52c5c7226d6eddd47dc01c7f33567 (diff) | |
download | txr-b2a47642713286c195d2e4fd27b67019a0cba411.tar.gz txr-b2a47642713286c195d2e4fd27b67019a0cba411.tar.bz2 txr-b2a47642713286c195d2e4fd27b67019a0cba411.zip |
Split off test macros from ifa.tl into common file.
* Makefile (TESTS_OUT): Don't use find to hunt down tests;
but rather wildcard. This way common.tl is not mistakenly
identified as an independent test file.
* tests/012/ifa.tl: Removed test code, placed in new file
which is loaded.
* tests/common.tl: New file.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -242,10 +242,9 @@ endif TESTS_TMP := txr.test.out TESTS_OUT := $(addprefix tst/,\ - $(patsubst %.tl,%.out,\ - $(patsubst %.txr,%.out,\ - $(shell find -H tests \ - \( -name '*.txr' -o -name '*.tl' \) | sort)))) + $(patsubst %.tl,%.out,\ + $(patsubst %.txr,%.out,\ + $(wildcard $(addprefix tests/*/*.,txr tl))))) TESTS_OK := $(TESTS_OUT:.out=.ok) .PHONY: tests |