summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/CFrontend/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CFrontend/Makefile b/test/CFrontend/Makefile
new file mode 100644
index 0000000..c1bbe03
--- /dev/null
+++ b/test/CFrontend/Makefile
@@ -0,0 +1,16 @@
+# test/Regression/CFrontend/Makefile
+#
+# This directory contains regression tests for the GCC C frontend for LLVM.
+# These tests are C source files that are input to GCC and compiled to .ll
+# files. After that, the files are assembled by the LLVM 'as' program to make
+# sure GCC emitted something valid. This is intended to catch crashers and bad
+# output by GCC.
+#
+# TODO: If the verify pass ever gets written, it should be run on the output.
+#
+LEVEL = ../../..
+include $(LEVEL)/test/Makefile.tests
+
+TESTS := $(wildcard *.c)
+
+all:: $(addprefix Output/, $(TESTS:%.c=%.tbc))