mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 14:10:55 +00:00
cbec8be8f8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2242 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
548 B
Makefile
20 lines
548 B
Makefile
# test/Regression/Verifier/Makefile
|
|
#
|
|
# This directory contains regression tests for the LLVM verifier pass. Basically
|
|
# all of these LLVM source files are invalid programs that should be marked as
|
|
# such by the verifier
|
|
|
|
LEVEL = ../../..
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
TESTS := $(wildcard *.ll)
|
|
|
|
all:: $(addprefix Output/, $(TESTS:%.ll=%.ntbc))
|
|
|
|
Output/%.ntbc: %.ll $(LAS) Output/.dir
|
|
@echo "======== Verifying $< ==========="
|
|
if $(LAS) -f $< -o /dev/null; \
|
|
then $(FAILURE) $@; exit 1; \
|
|
else touch $@; exit 0;\
|
|
fi
|