new testcase
[oota-llvm.git] / test / Verifier / Makefile
1 #                    test/Regression/Verifier/Makefile
2 #
3 # This directory contains regression tests for the LLVM verifier pass. Basically
4 # all of these LLVM source files are invalid programs that should be marked as
5 # such by the verifier
6
7 LEVEL = ../../..
8 include $(LEVEL)/test/Makefile.tests
9
10 TESTS := $(wildcard *.ll)
11
12 all:: $(addprefix Output/, $(TESTS:%.ll=%.ntbc))
13
14 Output/%.ntbc: %.ll $(LAS) Output/.dir
15         @echo "======== Verifying $< ==========="
16         if $(LAS) -f $< -o /dev/null; \
17         then $(FAILURE) $@; exit 1; \
18         else touch $@; exit 0;\
19         fi