Skip to content

Commit 9d6e464

Browse files
committed
make gdal test depend on using gdal
1 parent a56a858 commit 9d6e464

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/cunit/Makefile.am

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ test_darray_async test_darray_async_many test_darray_2sync \
2020
test_async_multicomp test_async_multi2 test_async_manyproc \
2121
test_darray_fill test_decomp_frame test_perf2 test_async_perf \
2222
test_darray_vard test_async_1d test_darray_append test_simple \
23-
test_darray_lossycompress test_gdal
24-
23+
test_darray_lossycompress
24+
if PIO_USE_GDAL
25+
check_PROGRAMS += test_gdal
26+
endif
2527
if RUN_TESTS
2628
# Tests will run from a bash script.
2729
TESTS = run_tests.sh

0 commit comments

Comments
 (0)