mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-04-12 18:10:24 +08:00
Restricted tests from running when they require the utilities but the utilities were not built, in autoconf-based tests. See https://github.com/Unidata/netcdf-c/issues/313 for more information.
This commit is contained in:
parent
a2073089bd
commit
b2e4b74e3a
@ -1,4 +1,4 @@
|
||||
M# -*- Autoconf -*-
|
||||
# -*- Autoconf -*-
|
||||
## Process this file with autoconf to produce a configure script.
|
||||
|
||||
# This is part of Unidata's netCDF package. Copyright 2005-2012, see
|
||||
|
@ -62,14 +62,16 @@ endif
|
||||
|
||||
TESTS = $(TESTPROGRAMS)
|
||||
|
||||
if BUILD_DISKLESS
|
||||
TESTS += run_diskless.sh
|
||||
if BUILD_MMAP
|
||||
TESTS += run_mmap.sh
|
||||
endif
|
||||
if LARGE_FILE_TESTS
|
||||
TESTS += run_diskless2.sh
|
||||
endif
|
||||
if BUILD_UTILITIES
|
||||
if BUILD_DISKLESS
|
||||
TESTS += run_diskless.sh
|
||||
if BUILD_MMAP
|
||||
TESTS += run_mmap.sh
|
||||
endif
|
||||
if LARGE_FILE_TESTS
|
||||
TESTS += run_diskless2.sh
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
if USE_PNETCDF
|
||||
|
@ -33,7 +33,11 @@ endif
|
||||
|
||||
TESTS = $(NC4_TESTS)
|
||||
|
||||
TESTS += run_grp_rename.sh run_empty_vlen_test.sh tst_misc.sh
|
||||
if BUILD_UTILITIES
|
||||
TESTS += run_grp_rename.sh tst_misc.sh
|
||||
endif
|
||||
|
||||
TESTS += run_empty_vlen_test.sh
|
||||
|
||||
# If the v2 API was built, add its test program.
|
||||
if BUILD_V2
|
||||
|
@ -33,7 +33,11 @@ if ENABLE_DAP_REMOTE_TESTS
|
||||
check_PROGRAMS += nctestserver
|
||||
nctestserver_SOURCES = nctestserver.c
|
||||
|
||||
TESTS += tst_remote3.sh tst_formatx.sh test_partvar testurl.sh
|
||||
if BUILD_UTILITIES
|
||||
TESTS += tst_remote3.sh tst_formatx.sh
|
||||
endif
|
||||
|
||||
TESTS += test_partvar testurl.sh
|
||||
|
||||
if ENABLE_DAP_LONG_TESTS
|
||||
TESTS += tst_longremote3.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user