Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

affile/tests: test_file_opener depends on criterion #1644

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 8 additions & 10 deletions modules/affile/tests/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
modules_affile_tests_TESTS = \
modules/affile/tests/test_file_opener

if ENABLE_CRITERION
check_PROGRAMS += \
${modules_affile_tests_TESTS}

modules_affile_tests_test_file_opener_CFLAGS = $(TEST_CFLAGS)
modules_affile_tests_test_file_opener_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/affile/libaffile.la

if ENABLE_CRITERION
modules_affile_tests_TESTS += \
modules_affile_tests_TESTS = \
modules/affile/tests/test_wildcard_source \
modules/affile/tests/test_directory_monitor \
modules/affile/tests/test_collection_comporator
modules/affile/tests/test_collection_comporator \
modules/affile/tests/test_file_opener

modules_affile_tests_test_wildcard_source_CFLAGS = $(TEST_CFLAGS) -I$(top_srcdir)/modules/affile
modules_affile_tests_test_wildcard_source_LDADD = $(TEST_LDADD) \
Expand All @@ -25,5 +19,9 @@ modules_affile_tests_test_directory_monitor_LDADD = $(TEST_LDADD) \
modules_affile_tests_test_collection_comporator_CFLAGS = $(TEST_CFLAGS) -I$(top_srcdir)/modules/affile
modules_affile_tests_test_collection_comporator_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/affile/libaffile.la

modules_affile_tests_test_file_opener_CFLAGS = $(TEST_CFLAGS)
modules_affile_tests_test_file_opener_LDADD = $(TEST_LDADD) \
-dlpreopen $(top_builddir)/modules/affile/libaffile.la
endif