From: Dagobert Michelsen Date: Mon, 1 Jul 2019 12:21:39 +0000 (+0200) Subject: Use pid_test only when compiling the plugin that uses it X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fe3f0b5f0c2bbedd5edd97dae1e5cdcb7fb4e1a4;p=collectd.git Use pid_test only when compiling the plugin that uses it (cherry picked from commit a7401cc81d05bf4f230aaf35e4109a23b60fc546) --- diff --git a/Makefile.am b/Makefile.am index 0821283b..9b9698f3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -159,8 +159,7 @@ check_PROGRAMS = \ test_utils_time \ test_utils_vl_lookup \ test_libcollectd_network_parse \ - test_utils_config_cores \ - test_utils_proc_pids + test_utils_config_cores TESTS = $(check_PROGRAMS) @@ -1089,6 +1088,7 @@ test_plugin_intel_rdt_CPPFLAGS = $(AM_CPPFLAGS) test_plugin_intel_rdt_LDFLAGS = $(PLUGIN_LDFLAGS) test_plugin_intel_rdt_LDADD = liboconfig.la libplugin_mock.la check_PROGRAMS += test_plugin_intel_rdt +TESTS += test_utils_proc_pids TESTS += test_plugin_intel_rdt endif