summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-20 20:24:16 +0000
committerChris Lattner <sabre@nondot.org>2003-08-20 20:24:16 +0000
commit963346a1d7149cf48314bd097b28a0d902be885a (patch)
tree114f425ab21431c3b4b7501e941901201933ac6b /llvm
parent9ca74f1cfec7347cb2061c36f746026604020a9a (diff)
downloadbcm5719-llvm-963346a1d7149cf48314bd097b28a0d902be885a.tar.gz
bcm5719-llvm-963346a1d7149cf48314bd097b28a0d902be885a.zip
New makefile for new directory
llvm-svn: 7990
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/C++Frontend/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/test/Regression/C++Frontend/Makefile b/llvm/test/Regression/C++Frontend/Makefile
new file mode 100644
index 00000000000..3b1ac98b0f4
--- /dev/null
+++ b/llvm/test/Regression/C++Frontend/Makefile
@@ -0,0 +1,20 @@
+# test/Regression/C++Frontend/CompileFail/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. Miscompilations by GCC should be caught by the
+# test/Programs/SingleSource/UnitTests test suite
+#
+LEVEL = ../../../..
+include $(LEVEL)/test/Makefile.tests
+
+TESTS := $(wildcard *.cpp)
+TR_TESTS := $(wildcard *.cpp.tr)
+
+all:: $(addprefix Output/, $(TESTS:%.cpp=%.tbc))
+all:: $(addprefix Output/, $(TR_TESTS:%=%.out))
+
+Output/%.cpp.tr.out: %.cpp.tr Output/.dir $(LCC1XX)
+ -$(TESTRUNR) $<
OpenPOWER on IntegriCloud