aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-14 22:32:59 +0000
committerChris Lattner <sabre@nondot.org>2002-07-14 22:32:59 +0000
commita2fb8c7338c38835b82ca32d0fc7890965916a64 (patch)
tree8104c586cb61a2030cef346c45dd1120abcda44f /test/Assembler
parent29acd75af5bd176de909b3ec3dce5209af100858 (diff)
downloadexternal_llvm-a2fb8c7338c38835b82ca32d0fc7890965916a64.zip
external_llvm-a2fb8c7338c38835b82ca32d0fc7890965916a64.tar.gz
external_llvm-a2fb8c7338c38835b82ca32d0fc7890965916a64.tar.bz2
Allow tests that use custom commands to run
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Assembler/Makefile b/test/Assembler/Makefile
index 2e571b2..44bc441 100644
--- a/test/Assembler/Makefile
+++ b/test/Assembler/Makefile
@@ -7,6 +7,7 @@ LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
+FTESTS := $(wildcard *.llx) # Freeform tests
all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
@@ -14,3 +15,9 @@ Output/%.tbc: %.ll $(LAS) Output/.dir
@echo "======== Assembling $<"
$(LAS) -d -f $< -o $@ > /dev/null 2>&1 || \
( rm -f $@; $(FAILURE) $@ )
+
+all:: $(addprefix Output/, $(FTESTS:%.llx=%.ll.out))
+
+Output/%.ll.out: %.llx Output/.dir $(LAS)
+ -$(TESTRUNR) $<
+