Stricter tests : treat warnings as errors

This commit is contained in:
Yann Collet 2015-04-01 15:05:27 +01:00
parent 76a03c1035
commit 0615eb4814

View File

@ -131,18 +131,18 @@ test-travis: $(TRAVIS_TARGET)
cmake:
@cd cmake_unofficial; cmake CMakeLists.txt; $(MAKE)
gpptest: clean
export CC=g++; export CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror"; $(MAKE) -e all
clangtest: clean
export CC=clang; $(MAKE) all
export CFLAGS=-Werror; export CC=clang; $(MAKE) all
staticAnalyze: clean
export CFLAGS=-g; scan-build -v $(MAKE) all
gpptest: clean
export CC=g++; export CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align"; $(MAKE) -e all
armtest: clean
export CC=arm-linux-gnueabi-gcc; cd lib; $(MAKE) -e all
export CC=arm-linux-gnueabi-gcc; cd programs; $(MAKE) -e bins
export CFLAGS=-Werror; export CC=arm-linux-gnueabi-gcc; cd lib; $(MAKE) -e all
export CFLAGS=-Werror; export CC=arm-linux-gnueabi-gcc; cd programs; $(MAKE) -e bins
streaming-examples:
cd examples; $(MAKE) -e test