New makefile for new directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7990 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-20 20:24:16 +00:00
parent f796d8090e
commit 2c3394ac39

20
test/C++Frontend/Makefile Normal file
View File

@ -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) $<