Skip to content

Commit

Permalink
Merge pull request #32 from ecmwf/fix/auxiliary-test
Browse files Browse the repository at this point in the history
Fix attempting to generate auxiliary test when fdb-tools are disabled
  • Loading branch information
simondsmart authored Aug 7, 2024
2 parents 1122f01 + 0da5980 commit 3e0a63c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/fdb/tools/auxiliary/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ecbuild_configure_file( move_auxiliary.sh.in fdb_move_auxiliary.sh @ONLY )
if (HAVE_FDB_BUILD_TOOLS)
ecbuild_configure_file( move_auxiliary.sh.in fdb_move_auxiliary.sh @ONLY )

ecbuild_add_test(
TYPE SCRIPT
CONDITION HAVE_FDB_BUILD_TOOLS
COMMAND fdb_move_auxiliary.sh)
endif()

ecbuild_add_test(
TYPE SCRIPT
CONDITION HAVE_FDB_BUILD_TOOLS
COMMAND fdb_move_auxiliary.sh)

0 comments on commit 3e0a63c

Please sign in to comment.