2002-08-02 16:44:09 +00:00
|
|
|
# test/Regression/CFrontend/Makefile
|
2002-01-23 21:56:15 +00:00
|
|
|
#
|
|
|
|
# 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
|
2002-08-02 16:44:09 +00:00
|
|
|
# output by GCC. Miscompilations by GCC should be caught by the
|
|
|
|
# test/Programs/SingleSource/UnitTests test suite
|
2002-01-23 21:56:15 +00:00
|
|
|
#
|
2002-08-02 16:44:09 +00:00
|
|
|
LEVEL = ../../..
|
2002-01-23 21:56:15 +00:00
|
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
|
|
|
|
TESTS := $(wildcard *.c)
|
2003-07-22 16:18:09 +00:00
|
|
|
TR_TESTS := $(wildcard *.c.tr)
|
2002-01-23 21:56:15 +00:00
|
|
|
|
|
|
|
all:: $(addprefix Output/, $(TESTS:%.c=%.tbc))
|
2003-07-22 16:18:09 +00:00
|
|
|
all:: $(addprefix Output/, $(TR_TESTS:%=%.out))
|
|
|
|
|
|
|
|
Output/%.c.tr.out: %.c.tr Output/.dir $(LCC1)
|
|
|
|
-$(TESTRUNR) $<
|