diff options
author | Razvan Becheriu <razvan@isc.org> | 2022-06-20 17:31:45 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2022-08-10 16:02:22 +0200 |
commit | 7f490a85594aa1fe9035f7c413f36cfc486480de (patch) | |
tree | 7e3455de56b2cf899f7c86eda0f5374133b3c101 /src/lib | |
parent | [#2071] fixed paths for distcheck to work (diff) | |
download | kea-7f490a85594aa1fe9035f7c413f36cfc486480de.tar.xz kea-7f490a85594aa1fe9035f7c413f36cfc486480de.zip |
[#2071] fixed use of valgrind
Diffstat (limited to 'src/lib')
24 files changed, 24 insertions, 48 deletions
diff --git a/src/lib/asiodns/tests/Makefile.am b/src/lib/asiodns/tests/Makefile.am index 09ff27ef75..74517c10ea 100644 --- a/src/lib/asiodns/tests/Makefile.am +++ b/src/lib/asiodns/tests/Makefile.am @@ -9,8 +9,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/asiolink/tests/Makefile.am b/src/lib/asiolink/tests/Makefile.am index a402e92267..b4be99784f 100644 --- a/src/lib/asiolink/tests/Makefile.am +++ b/src/lib/asiolink/tests/Makefile.am @@ -17,8 +17,7 @@ DISTCLEANFILES = process_spawn_app.sh noinst_SCRIPTS = process_spawn_app.sh -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/cc/tests/Makefile.am b/src/lib/cc/tests/Makefile.am index 2abfb8c328..c1e0a6b0a1 100644 --- a/src/lib/cc/tests/Makefile.am +++ b/src/lib/cc/tests/Makefile.am @@ -8,8 +8,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/cfgrpt/tests/Makefile.am b/src/lib/cfgrpt/tests/Makefile.am index 408dbadbe7..cda5ed9bf2 100644 --- a/src/lib/cfgrpt/tests/Makefile.am +++ b/src/lib/cfgrpt/tests/Makefile.am @@ -10,8 +10,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/config/tests/Makefile.am b/src/lib/config/tests/Makefile.am index b58dada343..8b4fdd82cc 100644 --- a/src/lib/config/tests/Makefile.am +++ b/src/lib/config/tests/Makefile.am @@ -14,8 +14,7 @@ endif CLEANFILES = *.gcno *.gcda DISTCLEANFILES = data_def_unittests_config.h -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/config_backend/tests/Makefile.am b/src/lib/config_backend/tests/Makefile.am index 9e254b5959..a58d143942 100644 --- a/src/lib/config_backend/tests/Makefile.am +++ b/src/lib/config_backend/tests/Makefile.am @@ -12,8 +12,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/cryptolink/tests/Makefile.am b/src/lib/cryptolink/tests/Makefile.am index a18618e5ae..a8bbb47123 100644 --- a/src/lib/cryptolink/tests/Makefile.am +++ b/src/lib/cryptolink/tests/Makefile.am @@ -10,8 +10,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/d2srv/tests/Makefile.am b/src/lib/d2srv/tests/Makefile.am index 436cb21ee1..b1fffe820d 100644 --- a/src/lib/d2srv/tests/Makefile.am +++ b/src/lib/d2srv/tests/Makefile.am @@ -11,8 +11,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/database/tests/Makefile.am b/src/lib/database/tests/Makefile.am index dd39beef93..f4cf4f0d3e 100644 --- a/src/lib/database/tests/Makefile.am +++ b/src/lib/database/tests/Makefile.am @@ -12,8 +12,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/dhcp/tests/Makefile.am b/src/lib/dhcp/tests/Makefile.am index 33d74f2529..a140fc0a12 100644 --- a/src/lib/dhcp/tests/Makefile.am +++ b/src/lib/dhcp/tests/Makefile.am @@ -13,8 +13,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/dhcp_ddns/tests/Makefile.am b/src/lib/dhcp_ddns/tests/Makefile.am index e1f27d1fa2..c504ca9770 100644 --- a/src/lib/dhcp_ddns/tests/Makefile.am +++ b/src/lib/dhcp_ddns/tests/Makefile.am @@ -13,8 +13,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/dhcpsrv/tests/Makefile.am b/src/lib/dhcpsrv/tests/Makefile.am index 8252ebad23..495fef6f73 100644 --- a/src/lib/dhcpsrv/tests/Makefile.am +++ b/src/lib/dhcpsrv/tests/Makefile.am @@ -16,8 +16,7 @@ endif CLEANFILES = *.gcno *.gcda DISTCLEANFILES = test_libraries.h -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/dns/tests/Makefile.am b/src/lib/dns/tests/Makefile.am index 9b2e0fadc3..bf0ab4195d 100644 --- a/src/lib/dns/tests/Makefile.am +++ b/src/lib/dns/tests/Makefile.am @@ -12,8 +12,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/eval/tests/Makefile.am b/src/lib/eval/tests/Makefile.am index f9d5a9e5a5..5a33f32e3f 100644 --- a/src/lib/eval/tests/Makefile.am +++ b/src/lib/eval/tests/Makefile.am @@ -12,8 +12,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/exceptions/tests/Makefile.am b/src/lib/exceptions/tests/Makefile.am index 0e4d2293d5..5df69bd825 100644 --- a/src/lib/exceptions/tests/Makefile.am +++ b/src/lib/exceptions/tests/Makefile.am @@ -7,8 +7,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/hooks/tests/Makefile.am b/src/lib/hooks/tests/Makefile.am index c9ea1a1ba1..dea7f4e41d 100644 --- a/src/lib/hooks/tests/Makefile.am +++ b/src/lib/hooks/tests/Makefile.am @@ -19,8 +19,7 @@ CLEANFILES = *.gcno *.gcda $(builddir)/marker_file.dat # Files generated by configure DISTCLEANFILES = marker_file.h test_libraries.h -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/http/tests/Makefile.am b/src/lib/http/tests/Makefile.am index c440fad5cd..51647db602 100644 --- a/src/lib/http/tests/Makefile.am +++ b/src/lib/http/tests/Makefile.am @@ -21,8 +21,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/log/interprocess/tests/Makefile.am b/src/lib/log/interprocess/tests/Makefile.am index a1f8a73113..a51a4b34a6 100644 --- a/src/lib/log/interprocess/tests/Makefile.am +++ b/src/lib/log/interprocess/tests/Makefile.am @@ -14,8 +14,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/log/tests/Makefile.am b/src/lib/log/tests/Makefile.am index 145d8093e5..668c3671d8 100644 --- a/src/lib/log/tests/Makefile.am +++ b/src/lib/log/tests/Makefile.am @@ -80,8 +80,7 @@ noinst_SCRIPTS = $(SHTESTS) if HAVE_GTEST -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) # Set of unit tests for the general logging classes PROGRAM_TESTS = run_unittests diff --git a/src/lib/mysql/tests/Makefile.am b/src/lib/mysql/tests/Makefile.am index f11254e3c7..b0945f298f 100644 --- a/src/lib/mysql/tests/Makefile.am +++ b/src/lib/mysql/tests/Makefile.am @@ -11,8 +11,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/pgsql/tests/Makefile.am b/src/lib/pgsql/tests/Makefile.am index ac24adbf24..1250a52d03 100644 --- a/src/lib/pgsql/tests/Makefile.am +++ b/src/lib/pgsql/tests/Makefile.am @@ -11,8 +11,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/process/tests/Makefile.am b/src/lib/process/tests/Makefile.am index 4d016456e9..7c1a43059a 100644 --- a/src/lib/process/tests/Makefile.am +++ b/src/lib/process/tests/Makefile.am @@ -14,8 +14,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/util/tests/Makefile.am b/src/lib/util/tests/Makefile.am index fd696504d6..8b6a612e75 100644 --- a/src/lib/util/tests/Makefile.am +++ b/src/lib/util/tests/Makefile.am @@ -17,8 +17,7 @@ CLEANFILES = *.gcno *.gcda # CSV files are created by unit tests for CSVFile class. CLEANFILES += *.csv -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST diff --git a/src/lib/yang/tests/Makefile.am b/src/lib/yang/tests/Makefile.am index 9fe769326a..09c42d7ef5 100644 --- a/src/lib/yang/tests/Makefile.am +++ b/src/lib/yang/tests/Makefile.am @@ -11,8 +11,7 @@ endif CLEANFILES = *.gcno *.gcda -TESTS_ENVIRONMENT = \ - $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) +TESTS_ENVIRONMENT = $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND) TESTS = if HAVE_GTEST |