From a8b7c04d135ad9e10d28fd38b5a979ab0993ed07 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 20 Aug 2002 16:33:28 +0000 Subject: [PATCH] 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 --- test/CBackend/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) $@ )