diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-06-23 19:58:50 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-06-23 19:58:50 +0000 |
commit | 1440c2a96ecca90325fa9da13f852ae1788ea4ec (patch) | |
tree | e79fb4f9acc3a2ddf492d4fda9c63288adf70933 | |
parent | 703379827f92c04f260c5c96cfe5b8450b434a6e (diff) |
Allow .llx testcases (i.e., those that contain explicit RUN: stmts.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6867 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CBackend/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/CBackend/Makefile b/test/CBackend/Makefile index e549e6e5fa..5dc7ffe239 100644 --- a/test/CBackend/Makefile +++ b/test/CBackend/Makefile @@ -10,9 +10,9 @@ include $(LEVEL)/test/Makefile.tests .PRECIOUS: Output/%.c TESTS := $(wildcard *.ll) +FTESTS := $(wildcard *.llx) # Freeform tests -all:: $(addprefix Output/, $(TESTS:%.ll=%.to)) - +all:: $(addprefix Output/, $(TESTS:%.ll=%.to)) $(addprefix Output/, $(FTESTS:%.llx=%.llx.out)) Output/%.to: Output/%.c $(CC) -c -Werror $< -o $@ || \ @@ -21,3 +21,7 @@ Output/%.to: Output/%.c Output/%.c: %.ll Output/.dir $(LAS) $(LDIS) $(LAS) < $< | $(LDIS) -c > $@ || \ (rm -f $@; $(FAILURE) $@ ) + +Output/%.llx.out: %.llx Output/.dir $(LAS) $(LDIS) + -$(TESTRUNR) $< + |