diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/Makefile | 4 | ||||
-rwxr-xr-x | test/Feature/TestAsmDisasm.sh | 2 | ||||
-rwxr-xr-x | test/Feature/TestOptimizer.sh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/Feature/Makefile b/test/Feature/Makefile index 2187b9f4d2..f99d6ae655 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 56a9700295..79ff5c314a 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 eecdb013aa..be926d1f67 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" |