Files
azuredatastudio/scripts/test-unstable.sh
Charles Gagnon 38decaea90 Fix test script overwriting grep option (#8209)
* Fix test script overwriting grep option

* Better logic and fix unstable scripts too
2019-11-04 11:35:52 -08:00

21 lines
384 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@
export ADS_TEST_INVERT_GREP=
echo Running UNSTABLE ADS Core Tests
./scripts/test.sh $PASSED_ARGS