projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New testcase
[oota-llvm.git]
/
test
/
LLC
/
Makefile
diff --git
a/test/LLC/Makefile
b/test/LLC/Makefile
index 2a3421eb379f93aa3d52a72f54719eb73f2ba794..3c07cd08839477a513a2d351a512685fcf9c318e 100644
(file)
--- a/
test/LLC/Makefile
+++ b/
test/LLC/Makefile
@@
-3,13
+3,20
@@
# This directory contains regression tests for the LLVM sparc backend.
#
LEVEL = ../../..
# This directory contains regression tests for the LLVM sparc backend.
#
LEVEL = ../../..
-include $(LEVEL)/test/
Programs/SingleSource/Makefile.singlesrc
+include $(LEVEL)/test/
Makefile.tests
-TESTS := $(wildcard *.ll) $(wildcard *.c)
+# Only .ll tests here. C tests are run via Makefile.singlesrc above.
+#
+LL_TESTS := $(wildcard *.ll)
+LLX_TESTS := $(wildcard *.llx)
-all:: $(addprefix Output/, $(TESTS:%.ll=%.ts))
+all:: $(addprefix Output/, $(LL_TESTS:%.ll=%.ts))
+all:: $(addprefix Output/, $(LLX_TESTS:%.llx=%.llx.out))
Output/%.ts: Output/%.bc $(LLC) Output/.dir
@echo "======== Compiling $< =========="
$(LLC) -f $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )
Output/%.ts: Output/%.bc $(LLC) Output/.dir
@echo "======== Compiling $< =========="
$(LLC) -f $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )
+
+Output/%.llx.out: %.llx Output/.dir $(LLC)
+ -$(TESTRUNR) $<