azuredatastudio/scripts/test-unstable.sh

21 строка
422 B
Bash

#!/bin/bash
set -e
PASSED_ARGS="$@"
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
ROOT=$(dirname $(dirname $(realpath "$0")))
else
ROOT=$(dirname $(dirname $(readlink -f $0)))
fi
cd $ROOT
export ADS_TEST_GREP=/(@UNSTABLE@|Unexpected Errors & Loader Errors)/
export ADS_TEST_INVERT_GREP=
echo Running UNSTABLE ADS Core Tests
./scripts/test.sh $PASSED_ARGS