mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-27 22:12:47 +01:00
61e617c5f2
ENABLE_STATS=1 on the make command line. llvm-svn: 3989
25 lines
763 B
Makefile
25 lines
763 B
Makefile
# test/Regression/Transforms/DSAnalysis/Makefile
|
|
#
|
|
# This directory contains test cases for the llvm data structure analysis
|
|
# library. These are meant to test all of the nooks and cranies of the
|
|
# algorithm, although we really have no way to verify that the answers produced
|
|
# are correct.
|
|
#
|
|
LEVEL = ../../../..
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
TESTS := $(wildcard *.ll)
|
|
FTESTS := $(wildcard *.llx) # Freeform tests
|
|
|
|
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
|
|
|
|
Output/%.out: %.ll $(LANALYZE) Output/.dir
|
|
(cd Output/; $(LANALYZE) -datastructure ../$< || \
|
|
( rm -f ../$@; ../$(FAILURE) ../$@ ))
|
|
|
|
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
|
|
|
|
Output/%.llx.out: %.llx Output/.dir $(LAS)
|
|
-$(TESTRUNR) $<
|
|
|