aboutsummaryrefslogtreecommitdiff
path: root/Makefile-test.am
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2018-08-22 11:37:09 -0700
committerPhilip Tricca <philip.b.tricca@intel.com>2018-08-24 08:09:16 -0700
commit0ca0fd8746958dbfe71a095fb91fa2da737ebdc3 (patch)
tree57780f88a9b313ffb0ac8af0252e004e70b94e3a /Makefile-test.am
parent3f2489b1c4572f203fb5c57b26364f9469ad716c (diff)
downloadtpm2-tss-0ca0fd8746958dbfe71a095fb91fa2da737ebdc3.tar.gz
test: add unit tests for the polling interface
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Diffstat (limited to 'Makefile-test.am')
-rw-r--r--Makefile-test.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile-test.am b/Makefile-test.am
index b876cfad..791272ef 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -250,7 +250,7 @@ CLEANFILES += \
if UNIT
test_unit_tcti_device_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_tcti_device_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil)
-test_unit_tcti_device_LDFLAGS = -Wl,--wrap=read -Wl,-wrap=write
+test_unit_tcti_device_LDFLAGS = -Wl,--wrap=read -Wl,--wrap=write, -Wl,--wrap=poll
test_unit_tcti_device_SOURCES = test/unit/tcti-device.c \
src/tss2-tcti/tcti-common.c src/tss2-tcti/tcti-common.h \
src/tss2-tcti/tcti-device.c src/tss2-tcti/tcti-device.h