Skip to content

Commit

Permalink
revert1
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Apr 30, 2024
1 parent 99d6612 commit 758d6b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/netcdf_functions_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,8 @@ endmacro()

macro(add_sh_test prefix F)
if(HAVE_BASH)
# argnil(nilargs ${ARGN})
# add_test(${prefix}_${F} bash "-c" "export srcdir=${CMAKE_CURRENT_SOURCE_DIR};export TOPSRCDIR=${CMAKE_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR}/${F}.sh${nilargs}")
add_test(${prefix}_${F} bash "-c" "export srcdir=${CMAKE_CURRENT_SOURCE_DIR};export TOPSRCDIR=${CMAKE_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR}/${F}.sh ${ARGN}")
argnil(nilargs ${ARGN})
add_test(${prefix}_${F} bash "-c" "export srcdir=${CMAKE_CURRENT_SOURCE_DIR};export TOPSRCDIR=${CMAKE_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR}/${F}.sh${nilargs}")
endif()
endmacro()

Expand Down

0 comments on commit 758d6b4

Please sign in to comment.