20 строки
459 B
Bash
Executable File
20 строки
459 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
scriptRoot="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
if [ "$__SkipTests" == "true" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
if [ "$BUILDVARS_DONE" != 1 ]; then
|
|
. $scriptRoot/buildvars-setup.sh $*
|
|
fi
|
|
|
|
pushd ${__ProjectRoot}/tests
|
|
source ${__ProjectRoot}/tests/runtest.sh $__BuildOS $__BuildArch $__BuildType -cross $__CrossBuild -dotnetclipath $__dotnetclipath
|
|
TESTERRORLEVEL=$?
|
|
popd
|
|
if [ $TESTERRORLEVEL != 0 ]; then
|
|
exit $TESTERRORLEVEL
|
|
fi
|