Skip to content

Commit

Permalink
logmsg/tests/test_log_message: switch to Criterion
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed Aug 24, 2016
1 parent a113791 commit c194692
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 193 deletions.
11 changes: 5 additions & 6 deletions lib/logmsg/tests/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
lib_logmsg_tests_TESTS = \
lib/logmsg/tests/test_log_message \
lib/logmsg/tests/test_logmsg_serialize \
lib/logmsg/tests/test_timestamp_serialize \
lib/logmsg/tests/test_tags


check_PROGRAMS += ${lib_logmsg_tests_TESTS}

lib_logmsg_tests_test_log_message_CFLAGS = $(TEST_CFLAGS)
lib_logmsg_tests_test_log_message_LDADD = $(TEST_LDADD)


lib_logmsg_tests_test_timestamp_serialize_CFLAGS = $(TEST_CFLAGS)
lib_logmsg_tests_test_timestamp_serialize_LDADD = $(TEST_LDADD)

Expand All @@ -24,12 +19,16 @@ if ENABLE_CRITERION

lib_logmsg_tests_TESTS += \
lib/logmsg/tests/test_nvtable \
lib/logmsg/tests/test_gsockaddr_serialize
lib/logmsg/tests/test_gsockaddr_serialize \
lib/logmsg/tests/test_log_message

lib_logmsg_tests_test_nvtable_CFLAGS = $(TEST_CFLAGS)
lib_logmsg_tests_test_nvtable_LDADD = $(TEST_LDADD)

lib_logmsg_tests_test_gsockaddr_serialize_CFLAGS = $(TEST_CFLAGS)
lib_logmsg_tests_test_gsockaddr_serialize_LDADD = $(TEST_LDADD)

lib_logmsg_tests_test_log_message_CFLAGS = $(TEST_CFLAGS)
lib_logmsg_tests_test_log_message_LDADD = $(TEST_LDADD)

endif
Loading

0 comments on commit c194692

Please sign in to comment.