unit-tests: Implement testing framework without "check"
This commit is contained in:
@@ -3,7 +3,7 @@ TESTS = test_runner
|
||||
check_PROGRAMS = $(TESTS)
|
||||
|
||||
test_runner_SOURCES = \
|
||||
test_runner.c test_runner.h test_suite.h \
|
||||
test_runner.c test_runner.h test_suite.c test_suite.h \
|
||||
suites/test_linked_list.c \
|
||||
suites/test_enumerator.c \
|
||||
suites/test_linked_list_enumerator.c \
|
||||
@@ -28,11 +28,9 @@ test_runner_CFLAGS = \
|
||||
-I$(top_srcdir)/src/libstrongswan \
|
||||
-DPLUGINDIR=\""$(top_builddir)/src/libstrongswan/plugins\"" \
|
||||
-DPLUGINS=\""${s_plugins}\"" \
|
||||
@COVERAGE_CFLAGS@ \
|
||||
@CHECK_CFLAGS@
|
||||
@COVERAGE_CFLAGS@
|
||||
|
||||
test_runner_LDFLAGS = @COVERAGE_LDFLAGS@
|
||||
test_runner_LDADD = \
|
||||
$(top_builddir)/src/libstrongswan/libstrongswan.la \
|
||||
$(PTHREADLIB) \
|
||||
@CHECK_LIBS@
|
||||
$(PTHREADLIB)
|
||||
|
||||
Reference in New Issue
Block a user