Please sign in to comment.
BUG: Extension build system: Ignore extension CTest return code. Fixe…
…s #4247 This commit ensures each "EXTENSION_UPLOAD_COMMAND" responsible to configure, build, test and package any given extension is completely "sandboxed" by using a wrapper script. This is required because simply setting the RETURN_VALUE parameter to the ctest_test() command is not enough to avoid the script from exiting with error code. # # The following wrapper script is required to workaround issue #4247 # and avoid the all extension build from failing if a test of # extension fail. # # Note that as soon as CMake >= 3.6.7 is released, it should be possible # to remove the wrapper script and simply specify CAPTURE_CMAKE_ERROR # ctest_test option. # # See https://cmake.org/cmake/help/v3.7/command/ctest_test.html # Tested-by: Isaiah Norton <email@example.com> Tested-by: Johan Andruejol <firstname.lastname@example.org> Tested-by: Nicole Aucoin <email@example.com> Tested-by: Steve Pieper <firstname.lastname@example.org> Reported-by: Csaba Pinter <email@example.com> Reported-by: Andras Lasso <firstname.lastname@example.org> Thanks: All of the above git-svn-id: http://svn.slicer.org/Slicer4/trunk@25439 3bd1e089-480b-0410-8dfb-8563597acbee
- Loading branch information...
Showing with 28 additions and 2 deletions.