Failure.sh moved up a level
authorChris Lattner <sabre@nondot.org>
Wed, 23 Jan 2002 20:39:56 +0000 (20:39 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Jan 2002 20:39:56 +0000 (20:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1569 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/Makefile
test/Feature/TestAsmDisasm.sh
test/Feature/TestOptimizer.sh

index 2187b9f4d25249350cac68de48560ba1e69dd78d..f99d6ae6550306b364a59a905c28b6581518579a 100644 (file)
@@ -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) $@ )
index 56a97002958a1e59bc22d696f5d2cd0e026a9dc7..79ff5c314a7f20d78b46b9bfdffe1e53b51b448a 100755 (executable)
@@ -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"
 
index eecdb013aaa869dfe743e3ed0af148d449c7b709..be926d1f671a610ca86e9dd1993b0494334cd629 100755 (executable)
@@ -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"