diff --git a/test/CFrontend/Makefile b/test/CFrontend/Makefile new file mode 100644 index 00000000000..c1bbe039eb7 --- /dev/null +++ b/test/CFrontend/Makefile @@ -0,0 +1,16 @@ +# test/Regression/CFrontend/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. +# +# TODO: If the verify pass ever gets written, it should be run on the output. +# +LEVEL = ../../.. +include $(LEVEL)/test/Makefile.tests + +TESTS := $(wildcard *.c) + +all:: $(addprefix Output/, $(TESTS:%.c=%.tbc))