2016-12-08 18:56:38 +03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
scriptRoot="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
|
2017-02-25 06:02:18 +03:00
|
|
|
if [ "$__SkipTests" == "true" ]; then
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2016-12-08 18:56:38 +03:00
|
|
|
if [ "$BUILDVARS_DONE" != 1 ]; then
|
|
|
|
. $scriptRoot/buildvars-setup.sh $*
|
|
|
|
fi
|
|
|
|
|
|
|
|
pushd ${__ProjectRoot}/tests
|
2017-02-14 17:32:48 +03:00
|
|
|
source ${__ProjectRoot}/tests/runtest.sh $__BuildOS $__BuildArch $__BuildType -cross $__CrossBuild -dotnetclipath $__dotnetclipath
|
2016-12-08 18:56:38 +03:00
|
|
|
TESTERRORLEVEL=$?
|
2016-12-20 04:05:17 +03:00
|
|
|
popd
|
|
|
|
if [ $TESTERRORLEVEL != 0 ]; then
|
|
|
|
exit $TESTERRORLEVEL
|
2017-02-14 17:32:48 +03:00
|
|
|
fi
|