[llvm-commits] CVS: llvm/test/Regression/C++Frontend/CompileFail/Makefile
Chris Lattner
lattner at cs.uiuc.edu
Wed Aug 20 15:25:12 PDT 2003
Changes in directory llvm/test/Regression/C++Frontend/CompileFail:
Makefile added (r1.1)
---
Log message:
New makefile for new directory
---
Diffs of the changes:
Index: llvm/test/Regression/C++Frontend/CompileFail/Makefile
diff -c /dev/null llvm/test/Regression/C++Frontend/CompileFail/Makefile:1.1
*** /dev/null Wed Aug 20 15:24:26 2003
--- llvm/test/Regression/C++Frontend/CompileFail/Makefile Wed Aug 20 15:24:16 2003
***************
*** 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) $<
More information about the llvm-commits
mailing list