diff options
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-x | Utilities/Release/release_cmake.sh.in | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in index 4adb207..0c26e5b 100755 --- a/Utilities/Release/release_cmake.sh.in +++ b/Utilities/Release/release_cmake.sh.in @@ -62,16 +62,18 @@ echo "Build cmake with @MAKE@" @MAKE@ check_exit_value $? "Build cmake" || exit 1 -echo "Run cmake tests" -@MAKE@ test -check_exit_value $? "Test cmake" || exit 1 +if [ -z "@SKIP_TESTS@" ]; then + echo "Run cmake tests" + @MAKE@ test + check_exit_value $? "Test cmake" || exit 1 +fi echo "Run package" -@MAKE@ package +./bin/cpack -D CMAKE_MAKE_PROGRAM=@MAKE_PROGRAM@ check_exit_value $? "Package cmake" || exit 1 echo "Create Tar.gz" -./bin/cpack -G TGZ +./bin/cpack -D CMAKE_MAKE_PROGRAM=@MAKE_PROGRAM@ -G TGZ check_exit_value $? "Create TGZ" || exit 1 # need to add an extra copy thing here |