aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commit2c3394ac39d9667d8d5c136d4d26ef7871427893 (patch)
tree8c5e85dce9831edb8a3d28e0ed2a1e33cbba8b93 /test
parentf796d8090e7672d1b150af0a6e65dcc39be89ae2 (diff)
downloadexternal_llvm-2c3394ac39d9667d8d5c136d4d26ef7871427893.zip
external_llvm-2c3394ac39d9667d8d5c136d4d26ef7871427893.tar.gz
external_llvm-2c3394ac39d9667d8d5c136d4d26ef7871427893.tar.bz2
New makefile for new directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/C++Frontend/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/C++Frontend/Makefile b/test/C++Frontend/Makefile
new file mode 100644
index 0000000..3b1ac98
--- /dev/null
+++ b/test/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) $<