summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xUtilities/Release/cygwin-package.sh.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/Utilities/Release/cygwin-package.sh.in b/Utilities/Release/cygwin-package.sh.in
index 23ff392..e98795b 100755
--- a/Utilities/Release/cygwin-package.sh.in
+++ b/Utilities/Release/cygwin-package.sh.in
@@ -39,6 +39,11 @@ conf()
{
(
cd ${BINARY_DIR} &&
+ (
+ cat >CMakeCache.txt <<EOF
+BUILD_TESTING:BOOL=ON
+EOF
+ ) &&
${SOURCE_DIR}/configure --prefix=${PREFIX}
)
}
@@ -47,7 +52,8 @@ build()
{
(
cd ${BINARY_DIR} &&
- make
+ make &&
+ ./Source/ctest
)
}