added -werror flag for tests
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 9 Jan 2012 08:34:43 +0000 (08:34 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 9 Jan 2012 08:34:43 +0000 (08:34 +0000)
tests/Makefile.am
tests/Makefile.in

index 08788b8..7c5ed8d 100644 (file)
@@ -8,7 +8,7 @@ check_PROGRAMS = test-io-dir-list \
        test-url-encode \
        test-url-normalize
 
-AM_CPPFLAGS = -pedantic
+AM_CPPFLAGS = -pedantic -Werror
 
 test_url_encode_SOURCES = test_url_encode.c
 test_url_encode_LDADD = ../src/lib/libpsensor.a
index 58331d9..6198558 100644 (file)
@@ -220,7 +220,7 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 EXTRA_DIST = checkpatch.pl data test-io-dir-list.sh
-AM_CPPFLAGS = -pedantic
+AM_CPPFLAGS = -pedantic -Werror
 test_url_encode_SOURCES = test_url_encode.c
 test_url_encode_LDADD = ../src/lib/libpsensor.a
 test_url_normalize_SOURCES = test_url_normalize.c