File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,13 @@ check_PROGRAMS += simple_nc4_wr simple_nc4_rd simple_xy_nc4_wr \
3333simple_xy_nc4_rd
3434TESTS += run_examples4.sh
3535
36+ if BUILD_UTILITIES
3637if ENABLE_FILTER_TESTING
3738# filter_example.c should be same as nc_test4/test_filter.c
3839check_PROGRAMS += filter_example
3940TESTS += run_filter.sh
4041endif
42+ endif
4143
4244endif # USE_HDF5
4345
Original file line number Diff line number Diff line change @@ -30,14 +30,17 @@ nctest_classic.cdl ref_nctest_classic.cdl
3030# reference file.
3131TESTPROGRAMS = nctest tst_rename
3232check_PROGRAMS = $(TESTPROGRAMS )
33+
34+ # This test requires that the utilites also be built.
35+ if BUILD_UTILITIES
3336TESTS = $(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.
3642TEST_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.
4245nctest_SOURCES = add.c add.h atttests.c cdftests.c dimtests.c driver.c \
4346emalloc.c emalloc.h error.c error.h misctest.c rec.c slabs.c testcdf.h \
Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ tst_fillonlyz_SOURCES = tst_fillonlyz.c ${tstcommonsrc}
3737
3838check_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
4340TESTS += run_ut_chunk.sh
4441
4542if BUILD_UTILITIES
4643
44+ TESTS += run_ut_map.sh
45+ TESTS += run_ut_mapapi.sh
46+ TESTS += run_ut_misc.sh
4747TESTS += run_ncgen4.sh
4848
4949if USE_HDF5
You can’t perform that action at this time.
0 commit comments