Build unit-tests as part of all-am if DEBUG is enabled, otherwise at check-am before running the test suite.
This commit is contained in:
parent
f27352180c
commit
7f0a65439f
2 changed files with 28 additions and 19 deletions
|
|
@ -5,8 +5,14 @@ AM_CFLAGS = @LIBNFC_CFLAGS@
|
|||
|
||||
if WITH_CUTTER
|
||||
|
||||
check_LTLIBRARIES = \
|
||||
libtestcommon.la
|
||||
cutter_unit_test_libs = \
|
||||
libtestcommon.la
|
||||
|
||||
if WITH_DEBUG
|
||||
noinst_LTLIBRARIES = $(cutter_unit_test_libs)
|
||||
else
|
||||
check_LTLIBRARIES = $(cutter_unit_test_libs)
|
||||
endif
|
||||
|
||||
libtestcommon_la_SOURCES = mifare_desfire_auto_authenticate.c \
|
||||
mifare_desfire_auto_authenticate.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue