mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Disable byterange tests if DAP remote tests are disabled.
This commit is contained in:
parent
4cb0aa75a0
commit
16e83896c6
@ -91,10 +91,12 @@ IF(BUILD_UTILITIES)
|
||||
add_sh_test(nc_test run_diskless2)
|
||||
ENDIF()
|
||||
|
||||
IF(ENABLE_BYTERANGE)
|
||||
build_bin_test_no_prefix(tst_byterange)
|
||||
add_sh_test(nc_test test_byterange)
|
||||
ENDIF()
|
||||
IF(ENABLE_DAP_REMOTE_TESTS)
|
||||
IF(ENABLE_BYTERANGE)
|
||||
build_bin_test_no_prefix(tst_byterange)
|
||||
add_sh_test(nc_test test_byterange)
|
||||
ENDIF()
|
||||
ENDIF(ENABLE_DAP_REMOTE_TESTS)
|
||||
|
||||
IF(BUILD_MMAP)
|
||||
add_sh_test(nc_test run_mmap)
|
||||
|
@ -61,10 +61,12 @@ if USE_HDF5
|
||||
TESTPROGRAMS += tst_diskless6
|
||||
endif
|
||||
|
||||
if ENABLE_DAP_REMOTE_TESTS
|
||||
if ENABLE_BYTERANGE
|
||||
TESTPROGRAMS += tst_byterange
|
||||
tst_byterange_SOURCES = tst_byterange.c
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set up the tests.
|
||||
check_PROGRAMS += $(TESTPROGRAMS)
|
||||
|
Loading…
Reference in New Issue
Block a user