aboutsummaryrefslogtreecommitdiff
path: root/Makefile-test.am
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2019-03-01 09:51:09 -0800
committerTadeusz Struk <tadeusz.struk@intel.com>2019-03-01 18:44:17 -0800
commit9cf80dc64baab01df13fbe59ae4ebe132184d5bb (patch)
treecea10639856054f5b9d50404ae425c2ebdc55a3d /Makefile-test.am
parent631cb62a909d1986e5c906ebc34f09cd05cbb84a (diff)
downloadtpm2-tss-9cf80dc64baab01df13fbe59ae4ebe132184d5bb.tar.gz
test: don't build tcti_default unit test when fuzzing in enabled
Don't build tcti_default unit test when fuzzing in enabled. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Diffstat (limited to 'Makefile-test.am')
-rw-r--r--Makefile-test.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile-test.am b/Makefile-test.am
index 68b4093e..55da3dae 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -70,14 +70,18 @@ TESTS_UNIT = \
if ESAPI
TESTS_UNIT += \
test/unit/esys-context-null \
- test/unit/esys-default-tcti \
test/unit/esys-resubmissions \
test/unit/esys-sequence-finish \
test/unit/esys-tcti-rcs \
test/unit/esys-tpm-rcs \
test/unit/esys-getpollhandles \
test/unit/esys-nulltcti \
- test/unit/esys-crypto
+ test/unit/esys-crypto
+
+if !ENABLE_FUZZING
+TESTS_UNIT += test/unit/esys-default-tcti
+endif
+
endif ESAPI
endif #UNIT