From: Chris Lattner Date: Tue, 20 Aug 2002 16:33:28 +0000 (+0000) Subject: Don't stop the testing process if dis segfaults X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a8b7c04d135ad9e10d28fd38b5a979ab0993ed07;p=oota-llvm.git Don't stop the testing process if dis segfaults git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3400 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CBackend/Makefile b/test/CBackend/Makefile index 7e5ba7ddefb..1ad566c63c8 100644 --- a/test/CBackend/Makefile +++ b/test/CBackend/Makefile @@ -19,4 +19,5 @@ Output/%.to: Output/%.c (rm -f $@; $(FAILURE) $@ ) Output/%.c: %.ll Output/.dir $(LAS) $(LDIS) - $(LAS) < $< | $(LDIS) -c > $@ + $(LAS) < $< | $(LDIS) -c > $@ || \ + (rm -f $@; $(FAILURE) $@ )