Skip to content

Commit

Permalink
disable test that depend on ncpathcvt in cmake build w/o utilities
Browse files Browse the repository at this point in the history
fixes #2794
  • Loading branch information
tbussmann committed Nov 8, 2023
1 parent dd0aedc commit 99d0760
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions nctest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ TARGET_LINK_LIBRARIES(nctest netcdf)
ADD_TEST(nctest ${EXECUTABLE_OUTPUT_PATH}/nctest)

add_bin_test_no_prefix(tst_rename)
add_sh_test(nctest compare_test_files)
IF(HAVE_BASH)
SET_TESTS_PROPERTIES(nctest_compare_test_files PROPERTIES DEPENDS nctest)
ENDIF(HAVE_BASH)
IF(BUILD_UTILITIES)
add_sh_test(nctest compare_test_files)
IF(HAVE_BASH)
SET_TESTS_PROPERTIES(nctest_compare_test_files PROPERTIES DEPENDS nctest)
ENDIF(HAVE_BASH)
ENDIF(BUILD_UTILITIES)

0 comments on commit 99d0760

Please sign in to comment.