From fa149909ab26047db312d7496c2f04f68d259949 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 23 Jan 2002 20:39:56 +0000 Subject: [PATCH] Failure.sh moved up a level git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1569 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/Makefile | 4 ++-- test/Feature/TestAsmDisasm.sh | 2 +- test/Feature/TestOptimizer.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Feature/Makefile b/test/Feature/Makefile index 2187b9f4d25..f99d6ae6550 100644 --- a/test/Feature/Makefile +++ b/test/Feature/Makefile @@ -31,9 +31,9 @@ Output/%.opt: % $(LAS) $(LDIS) $(LOPT) Output/.dir Output/%.mc: Output/%.bc $(LLC) @echo "======== Generating machine instructions for $<" $(LLC) -f $(LLCFLAGS) $< > $@ || \ - ( rm -f $@; ./Failure.sh $@ ) + ( rm -f $@; $(FAILURE) $@ ) Output/%.s: Output/%.bc $(LLC) @echo "======== Generating assembly code for $<" $(LLC) -f $(LLCFLAGS) $< -o $@ || \ - ( rm -f $@; ./Failure.sh $@ ) + ( rm -f $@; $(FAILURE) $@ ) diff --git a/test/Feature/TestAsmDisasm.sh b/test/Feature/TestAsmDisasm.sh index 56a97002958..79ff5c314a7 100755 --- a/test/Feature/TestAsmDisasm.sh +++ b/test/Feature/TestAsmDisasm.sh @@ -27,5 +27,5 @@ echo "======== Running assembler/disassembler test on $1" rm $1.[bl][cl].[12] touch Output/$1.asmdis -) || ./Failure.sh "$1 ASM/DIS" +) || ../Failure.sh "$1 ASM/DIS" diff --git a/test/Feature/TestOptimizer.sh b/test/Feature/TestOptimizer.sh index eecdb013aaa..be926d1f671 100755 --- a/test/Feature/TestOptimizer.sh +++ b/test/Feature/TestOptimizer.sh @@ -30,4 +30,4 @@ echo "======== Running optimizier test on $1" rm $1.bc.[1234] $1.ll.[1234] touch Output/$1.opt # Success! -)|| ./Failure.sh "$1 Optimizer" +)|| ../Failure.sh "$1 Optimizer"