Simplify testcase even more
[oota-llvm.git] / test / C++Frontend / Makefile
1 #             test/Regression/C++Frontend/CompileFail/Makefile
2 #
3 # This directory contains regression tests for the GCC C++ frontend for LLVM.  
4 # These tests are C++ source files that are input to GCC and compiled to .ll
5 # files. After that, the files are assembled by the LLVM 'as' program to make
6 # sure GCC emitted something valid.  This is intended to catch crashers and bad
7 # output by GCC.  Miscompilations by GCC should be caught by the 
8 # test/Programs/SingleSource/UnitTests test suite
9 #
10 LEVEL = ../../../..
11 include $(LEVEL)/test/Makefile.tests
12
13 TESTS := $(wildcard *.cpp)
14 TR_TESTS := $(wildcard *.cpp.tr)
15
16 all:: $(addprefix Output/, $(TESTS:%.cpp=%.tbc))
17 all:: $(addprefix Output/, $(TR_TESTS:%=%.out))
18
19 Output/%.cpp.tr.out: %.cpp.tr Output/.dir $(LCC1XX)
20         -$(TESTRUNR) $<