Merge pull request #3011 from akoeplinger/ci-fixes
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 18 May 2016 15:18:38 +0000 (17:18 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 18 May 2016 15:18:38 +0000 (17:18 +0200)
[ci] Move setting CFLAGS and MONO_CHECK_MODE into the run-jenkins.sh script

scripts/ci/run-jenkins.sh

index eebaaffcea7c2ed7a46fa329d4509c30b7944640..8b689458edb658b0fe7d90eb699263d66280eb3c 100755 (executable)
@@ -3,8 +3,9 @@
 TESTCMD=`dirname "${BASH_SOURCE[0]}"`/run-step.sh
 
 export TEST_HARNESS_VERBOSE=1
+export CFLAGS=-ggdb3
 
-if [[ ${CI_TAGS} == *'coop-gc'* ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-cooperative-gc=yes"; fi
+if [[ ${CI_TAGS} == *'coop-gc'* ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-cooperative-gc=yes"; export MONO_CHECK_MODE=gc,thread; fi
 
 if [[ ${label} == 'osx-i386' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-libgdiplus=/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib --enable-nls=no --build=i386-apple-darwin11.2.0"; fi
 if [[ ${label} == 'osx-amd64' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-libgdiplus=/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib --enable-nls=no"; fi