Make regression tests fail if any warnings are emitted
authorChris Lattner <sabre@nondot.org>
Mon, 12 May 2003 15:33:52 +0000 (15:33 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 May 2003 15:33:52 +0000 (15:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6126 91177308-0d34-0410-b5e6-96231b3b80d8

test/CBackend/Makefile

index 06e1bdeb6bf9b0e4e3c0cf1f535b59be1b951772..e549e6e5fadba35dc247b7815e09ab110d6e53c6 100644 (file)
@@ -15,7 +15,7 @@ all:: $(addprefix Output/, $(TESTS:%.ll=%.to))
 
 
 Output/%.to: Output/%.c
-       $(CC) -c $< -o $@ || \
+       $(CC) -c -Werror $< -o $@ || \
                (rm -f $@; $(FAILURE) $@ )
 
 Output/%.c: %.ll Output/.dir $(LAS) $(LDIS)