X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=tests%2FMakefile.am;h=332c0a213da2b7baaef08888588106908604102e;hb=9dc8095432b3733157be0c01a41013e640a75f76;hp=eaee75075ba19f3012d258636bed78ae1400308c;hpb=59e34ccd1ca5cacf090bac893a6a1773d2249c94;p=psensor.git diff --git a/tests/Makefile.am b/tests/Makefile.am index eaee750..332c0a2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -4,7 +4,9 @@ check-local: checkpatch.pl DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ -EXTRA_DIST = checkpatch.pl data test-io-dir-list.sh +EXTRA_DIST = checkpatch.pl \ + test-cppcheck.sh \ + test-io-dir-list.sh check_PROGRAMS = test-io-dir-list \ test-psensor-type-to-unit-str \ @@ -12,7 +14,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) @@ -27,7 +29,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 @@ -39,4 +43,4 @@ TESTS = test-io-dir-list.sh \ if CPPCHECK TESTS += test-cppcheck.sh -endif \ No newline at end of file +endif