aboutsummaryrefslogtreecommitdiffstats
path: root/test/CBackend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-20 16:33:28 +0000
committerChris Lattner <sabre@nondot.org>2002-08-20 16:33:28 +0000
commita8b7c04d135ad9e10d28fd38b5a979ab0993ed07 (patch)
tree7c9203283abc9e3a021bd088b45003e0c59858da /test/CBackend
parentafadc96d28bf7df1a32b3ab6cc09b4253934711b (diff)
downloadexternal_llvm-a8b7c04d135ad9e10d28fd38b5a979ab0993ed07.zip
external_llvm-a8b7c04d135ad9e10d28fd38b5a979ab0993ed07.tar.gz
external_llvm-a8b7c04d135ad9e10d28fd38b5a979ab0993ed07.tar.bz2
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
Diffstat (limited to 'test/CBackend')
-rw-r--r--test/CBackend/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CBackend/Makefile b/test/CBackend/Makefile
index 7e5ba7d..1ad566c 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) $@ )