Stricter tests : treat warnings as errors
This commit is contained in:
parent
76a03c1035
commit
0615eb4814
12
Makefile
12
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user