check: Include testpathcvt.sh only if test is built

This avoids the test case to fail if it isn't.

Signed-off-by: Egbert Eich <eich@suse.com>
This commit is contained in:
Egbert Eich 2021-07-12 11:58:24 +02:00
parent 84f0696e7d
commit 6c4cb2c9f3

View File

@ -32,8 +32,10 @@ check_PROGRAMS += t_dap3a test_cvt3 test_vara
TESTS += t_dap3a test_cvt3 test_vara
if BUILD_UTILITIES
TESTS += tst_ncdap3.sh
if ENABLE_DAP_REMOTE_TESTS
TESTS += testpathcvt.sh
endif
endif
# remote tests are optional
# because the server may be down or inaccessible