From 46fc42b65cde6015fd9017503699feb8d0f4a725 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Thu, 10 Aug 2017 01:04:32 +0200 Subject: [PATCH] Fixed windows deployment script (2). --- scripts/deploy-win-mingw.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-win-mingw.sh b/scripts/deploy-win-mingw.sh index 93d6780f1..3127b4fe1 100644 --- a/scripts/deploy-win-mingw.sh +++ b/scripts/deploy-win-mingw.sh @@ -83,8 +83,6 @@ touch src/klayout_main/version.h rm -rf $target ./build.sh -python $python -ruby $ruby -bin $target -build $build -j2 -TESTSRC=. TESTTMP=$build/testtmp $target/ut_runner -a >$build/ut_runner.xml - if ! [ -e $target ]; then echo "ERROR: Target directory $target not found" exit 1 @@ -192,6 +190,13 @@ while [ "$new_libs" != "" ]; do done +# ---------------------------------------------------------- +# Run Tests + +set +e +TESTSRC=. TESTTMP=$build/testtmp $target/ut_runner -a >$build/ut_runner.xml +set -e + # ---------------------------------------------------------- # Run NSIS