15 lines
384 B
Bash
15 lines
384 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
scriptRoot="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||
|
|
||
|
if [ "$BUILDVARS_DONE" != 1 ]; then
|
||
|
. $scriptRoot/buildvars-setup.sh $*
|
||
|
fi
|
||
|
|
||
|
pushd ${__ProjectRoot}/tests
|
||
|
source ${__ProjectRoot}/tests/runtest.sh $__BuildOS $__BuildArch $__BuildType -dotnetclipath $__dotnetclipath
|
||
|
TESTERRORLEVEL=$?
|
||
|
popd
|
||
|
if [ $TESTERRORLEVEL != 0 ]; then
|
||
|
exit $TESTERRORLEVEL
|
||
|
fi
|