From: Chris Lattner Date: Mon, 12 May 2003 15:33:52 +0000 (+0000) Subject: Make regression tests fail if any warnings are emitted X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bc9ab86639f5e41569e1dde10d681c49f3a16c22;p=oota-llvm.git Make regression tests fail if any warnings are emitted git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6126 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CBackend/Makefile b/test/CBackend/Makefile index 06e1bdeb6bf..e549e6e5fad 100644 --- a/test/CBackend/Makefile +++ b/test/CBackend/Makefile @@ -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)