Add check for libcunit and only build the test suite if libcunit is available

This commit is contained in:
Ronnie Sahlberg
2013-01-06 11:28:07 -08:00
parent a85db82806
commit d21ad441bf
2 changed files with 34 additions and 0 deletions

View File

@@ -163,6 +163,10 @@ bin_iscsi_test_SOURCES = test-tool/iscsi-test.c \
test-tool/1144_persistent_reserve_access_check_eaar.c \
test-tool/1145_persistent_reserve_access_check_wear.c
endif
if ISCSITEST
# libiscsi test tool using cunit
noinst_PROGRAMS += bin/iscsi-test-cu