aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-23 21:40:31 +0000
committerChris Lattner <sabre@nondot.org>2002-01-23 21:40:31 +0000
commit66c1f727bd483e48702a00e795f3df4b9e6fc282 (patch)
tree75806f4f3841f8f3abb4d168fb7b62166ab90b8f /test
parent295fe670596ed0f80850fa289f9bedd74d391b2d (diff)
Initial Checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Assembler/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Assembler/Makefile b/test/Assembler/Makefile
new file mode 100644
index 0000000000..674b2b33ff
--- /dev/null
+++ b/test/Assembler/Makefile
@@ -0,0 +1,16 @@
+# test/Regression/Assembler/Makefile
+#
+# This directory contains regression tests for the LLVM assembler program.
+# These LLVM source file tests are just required to assembler properly to pass.
+#
+LEVEL = ../../..
+include $(LEVEL)/test/Makefile.tests
+
+TESTS := $(wildcard *.ll)
+
+all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
+
+Output/%.tbc: %.ll $(LAS) Output/.dir
+ @echo "======== Assembling $<"
+ $(LAS) -f $< -o $@ || \
+ ( rm -f $@; $(FAILURE) $@ )