diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-30 19:24:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-30 19:24:07 +0000 |
commit | 999b63b4535c0ffe0328381fb5da4579e7f2fcc0 (patch) | |
tree | e7ce93fbdc655bcfe88880d35a4ee088cd4c6b0a | |
parent | 9551817d4fd8641f2301e98362aa087910693d1c (diff) |
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
-rw-r--r-- | test/Transforms/DSAnalysis/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/Transforms/DSAnalysis/Makefile b/test/Transforms/DSAnalysis/Makefile new file mode 100644 index 0000000000..8ef0b2be45 --- /dev/null +++ b/test/Transforms/DSAnalysis/Makefile @@ -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) $< + |