poco/ci/runtests.sh

13 lines
378 B
Bash
Raw Normal View History

set -ev
2020-02-08 10:49:42 +01:00
osname=`uname`
osarch=`uname -m`
export POCO_BASE=`pwd`
export PATH=$PATH:.
2020-02-08 10:49:42 +01:00
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.:$POCO_BASE/lib/$osname/$osarch
2020-02-08 21:29:28 +01:00
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:.:$POCO_BASE/lib/$osname/$osarch
if [ "TSAN" = "$1" ]
then
export TSAN_OPTIONS="suppressions=$POCO_BASE/tsan.suppress,second_deadlock_stack=1"
fi
build/script/runtests.sh