Add script to run cppcheck.
[darkhttpd] / run-tests.sh
1 #!/bin/sh
2 BDECFLAGS="-W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
3 -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs \
4 -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings"
5
6 (cc $BDECFLAGS -g -O -DDEBUG test_make_safe_uri.c -o test_make_safe_uri &&
7 ./test_make_safe_uri)