Add new testcase
[oota-llvm.git] / test / CFrontend / Makefile
1 #                       test/Regression/CFrontend/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 *.c)
14 TR_TESTS := $(wildcard *.c.tr)
15
16 all:: $(addprefix Output/, $(TESTS:%.c=%.tbc))
17 all:: $(addprefix Output/, $(TR_TESTS:%=%.out))
18
19 Output/%.c.tr.out: %.c.tr Output/.dir $(LCC1)
20         -$(TESTRUNR) $<