Changeset: 70899e282238 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=70899e282238
Modified Files:
testing/CMakeLists.txt
Branch: cmake-fun
Log Message:
For testing shell scripts, we will support only bash.
diffs (18 lines):
diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt
--- a/testing/CMakeLists.txt
+++ b/testing/CMakeLists.txt
@@ -67,11 +67,10 @@ if(WIN32)
install(FILES Mlog.bat Mtest.py.bat DESTINATION ${BINDIR})
install(FILES $<TARGET_PDB_FILE:Mdiff> DESTINATION ${BINDIR} OPTIONAL)
else()
- find_program(SH NAMES sh bash DOC "shell interpreter")
- if(NOT SH)
- message(FATAL_ERROR "A shell interpreter was not found")
+ find_program(BASH NAMES bash DOC "bash interpreter fullpath")
+ if(NOT BASH)
+ message(FATAL_ERROR "A bash interpreter was not found")
endif()
- set(BASH "${SH}")
configure_file(Mlog.in ${CMAKE_CURRENT_BINARY_DIR}/Mlog @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Mlog PERMISSIONS
${PROGRAM_PERMISSIONS_DEFAULT} DESTINATION ${BINDIR})
install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E
make_directory ${BINDIR})")
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list