summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-07-23 08:06:43 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-07-23 08:06:43 -0700
commitb2a47642713286c195d2e4fd27b67019a0cba411 (patch)
tree18f0d330e20e3a416cda7b1f7f7ae35bba7a2221 /Makefile
parent956785645ee52c5c7226d6eddd47dc01c7f33567 (diff)
downloadtxr-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--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cbb1219d..ace97a2d 100644
--- a/Makefile
+++ b/Makefile
@@ -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