X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=5bf8b1fd2d6ef3f19755ebaad153a2d98a49edc7;hp=7bed616aae29a42da64be7196f75b30c9cd10609;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=0d947eddb1a19b22d0c5ac7c1bf558350bf1c69e diff --git a/tests/Makefile.am b/tests/Makefile.am index 7bed616..5bf8b1f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -5,7 +5,7 @@ check-local: checkpatch.pl DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ EXTRA_DIST = checkpatch.pl \ - data \ + spelling.txt \ test-cppcheck.sh \ test-io-dir-list.sh @@ -15,7 +15,7 @@ check_PROGRAMS = test-io-dir-list \ test-url-encode \ test-url-normalize -AM_CPPFLAGS = -pedantic -Werror +AM_CPPFLAGS = -Wall -Werror LIBS += ../src/lib/libpsensor.a \ $(SENSORS_LIBS) @@ -30,7 +30,9 @@ endif test_io_dir_list_SOURCES = test_io_dir_list.c test_psensor_type_to_unit_str_SOURCES = test_psensor_type_to_unit_str.c +test_psensor_type_to_unit_str_CFLAGS = -I$(top_srcdir)/src/lib test_psensor_value_to_str_SOURCES = test_psensor_value_to_str.c +test_psensor_value_to_str_CFLAGS = -I$(top_srcdir)/src/lib test_url_encode_SOURCES = test_url_encode.c test_url_normalize_SOURCES = test_url_normalize.c @@ -42,4 +44,4 @@ TESTS = test-io-dir-list.sh \ if CPPCHECK TESTS += test-cppcheck.sh -endif \ No newline at end of file +endif