summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-08-03 13:17:03 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-08-03 13:17:03 +0000
commita1396a163d4e76a55d999c9556fc85885c8f8620 (patch)
tree2a367a1237c2c3c889c037c7629610686df486b4 /test
parent6ae7d3c9ec03dbb3100e7e687302c902cd4a7616 (diff)
downloadexternal_llvm-a1396a163d4e76a55d999c9556fc85885c8f8620.zip
external_llvm-a1396a163d4e76a55d999c9556fc85885c8f8620.tar.gz
external_llvm-a1396a163d4e76a55d999c9556fc85885c8f8620.tar.bz2
Run both *.ll and *.c tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/DecomposeMultiDimRefs/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/DecomposeMultiDimRefs/Makefile b/test/Transforms/DecomposeMultiDimRefs/Makefile
index dac45da..fdbf3fa 100644
--- a/test/Transforms/DecomposeMultiDimRefs/Makefile
+++ b/test/Transforms/DecomposeMultiDimRefs/Makefile
@@ -8,3 +8,12 @@
LEVEL = ../../../..
include $(LEVEL)/test/Programs/SingleSource/Makefile.singlesrc
+LLTESTS := $(wildcard *.ll)
+CTESTS := $(wildcard *.c)
+TESTS := $(LLTESTS) $(CTESTS)
+
+all:: $(addprefix Output/, $(LLTESTS:%.ll=%.ll.out))
+
+Output/%.ll.out: %.ll Output/.dir $(LOPT)
+ -$(TESTRUNR) $<
+