mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 00:14:20 +00:00
Allow production of -stats output for benchmarks by specifying
ENABLE_STATS=1 on the make command line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3989 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9551817d4f
commit
999b63b453
24
test/Transforms/DSAnalysis/Makefile
Normal file
24
test/Transforms/DSAnalysis/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# 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) $<
|
||||
|
Loading…
x
Reference in New Issue
Block a user