Skip to content

Commit

Permalink
Move Makefile rules for pid_test inside conditional for code
Browse files Browse the repository at this point in the history
  • Loading branch information
dago committed Jul 5, 2019
1 parent a7401cc commit 45b8c05
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Makefile.am
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 45b8c05

Please sign in to comment.