Skip to content

Commit dd4edd0

Browse files
authored
Merge pull request #2282 from edwardhartnett/ejh_no_util_tests
turning off tests that depend on ncpathcvt when --disable-utilities is used
2 parents 58660cd + 336b7d7 commit dd4edd0

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

examples/C/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ check_PROGRAMS += simple_nc4_wr simple_nc4_rd simple_xy_nc4_wr \
3333
simple_xy_nc4_rd
3434
TESTS += run_examples4.sh
3535

36+
if BUILD_UTILITIES
3637
if ENABLE_FILTER_TESTING
3738
# filter_example.c should be same as nc_test4/test_filter.c
3839
check_PROGRAMS += filter_example
3940
TESTS += run_filter.sh
4041
endif
42+
endif
4143

4244
endif #USE_HDF5
4345

nctest/Makefile.am

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,17 @@ nctest_classic.cdl ref_nctest_classic.cdl
3030
# reference file.
3131
TESTPROGRAMS = nctest tst_rename
3232
check_PROGRAMS = $(TESTPROGRAMS)
33+
34+
# This test requires that the utilites also be built.
35+
if BUILD_UTILITIES
3336
TESTS = $(TESTPROGRAMS) compare_test_files.sh
37+
# compare_test_files depends on nctest executing first.
38+
compare_test_files.log: nctest.log
39+
endif
3440

3541
# Note which tests depend on other tests. Necessary for make -j check.
3642
TEST_EXTENSIONS = .sh
3743

38-
# compare_test_files depends on nctest executing first.
39-
compare_test_files.log: nctest.log
40-
4144
# These are the source files for the nctest program.
4245
nctest_SOURCES = add.c add.h atttests.c cdftests.c dimtests.c driver.c \
4346
emalloc.c emalloc.h error.c error.h misctest.c rec.c slabs.c testcdf.h \

nczarr_test/Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ tst_fillonlyz_SOURCES = tst_fillonlyz.c ${tstcommonsrc}
3737

3838
check_PROGRAMS += tst_zchunks tst_zchunks2 tst_zchunks3 tst_fillonlyz test_quantize
3939

40-
TESTS += run_ut_map.sh
41-
TESTS += run_ut_mapapi.sh
42-
TESTS += run_ut_misc.sh
4340
TESTS += run_ut_chunk.sh
4441

4542
if BUILD_UTILITIES
4643

44+
TESTS += run_ut_map.sh
45+
TESTS += run_ut_mapapi.sh
46+
TESTS += run_ut_misc.sh
4747
TESTS += run_ncgen4.sh
4848

4949
if USE_HDF5

0 commit comments

Comments
 (0)