From: Dagobert Michelsen Date: Fri, 5 Jul 2019 09:16:25 +0000 (+0200) Subject: Move Makefile rules for pid_test inside conditional for code X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=45b8c056d89f4b029e6017035ce6a4a37a36d260;p=collectd.git Move Makefile rules for pid_test inside conditional for code --- diff --git a/Makefile.am b/Makefile.am index 9b9698f3..f2732e1a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -376,11 +376,6 @@ test_utils_config_cores_SOURCES = \ src/testing.h test_utils_config_cores_LDADD = libplugin_mock.la -test_utils_proc_pids_SOURCES = \ - src/utils/proc_pids/proc_pids_test.c \ - src/testing.h -test_utils_proc_pids_LDADD = libplugin_mock.la - libavltree_la_SOURCES = \ src/utils/avltree/avltree.c \ src/utils/avltree/avltree.h @@ -1088,8 +1083,14 @@ 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 + +test_utils_proc_pids_SOURCES = \ + src/utils/proc_pids/proc_pids_test.c \ + src/testing.h +test_utils_proc_pids_LDADD = libplugin_mock.la +check_PROGRAMS += test_utils_proc_pids +TESTS += test_utils_proc_pids endif if BUILD_PLUGIN_INTERFACE