Don't stop the testing process if dis segfaults
authorChris Lattner <sabre@nondot.org>
Tue, 20 Aug 2002 16:33:28 +0000 (16:33 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Aug 2002 16:33:28 +0000 (16:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3400 91177308-0d34-0410-b5e6-96231b3b80d8

test/CBackend/Makefile

index 7e5ba7ddefbe89004cf399ad94bec0106274d70d..1ad566c63c832021404821725ff6278191411810 100644 (file)
@@ -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) $@ )