mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-15 18:46:36 -05:00
9
scripts/sql-test-integration-unstable.bat
Normal file
9
scripts/sql-test-integration-unstable.bat
Normal file
@@ -0,0 +1,9 @@
|
||||
setlocal
|
||||
|
||||
set ADS_TEST_GREP=@UNSTABLE@
|
||||
|
||||
echo Running unstable tests
|
||||
|
||||
call %~dp0\sql-test-integration.bat
|
||||
|
||||
endlocal
|
||||
17
scripts/sql-test-integration-unstable.sh
Executable file
17
scripts/sql-test-integration-unstable.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
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@
|
||||
|
||||
echo Running unstable tests
|
||||
|
||||
./scripts/sql-test-integration.sh
|
||||
@@ -6,6 +6,13 @@ set VSCODEUSERDATADIR=%TMP%\adsuser-%RANDOM%-%TIME:~6,5%
|
||||
set VSCODEEXTENSIONSDIR=%TMP%\adsext-%RANDOM%-%TIME:~6,5%
|
||||
echo VSCODEUSERDATADIR=%VSCODEUSERDATADIR%
|
||||
echo VSCODEEXTENSIONSDIR=%VSCODEEXTENSIONSDIR%
|
||||
|
||||
if "%ADS_TEST_GREP%" == "" (
|
||||
echo Running stable tests only
|
||||
set ADS_TEST_GREP=@UNSTABLE@
|
||||
SET ADS_TEST_INVERT_GREP=1
|
||||
)
|
||||
|
||||
@echo OFF
|
||||
|
||||
if "%SKIP_PYTHON_INSTALL_TEST%" == "1" (
|
||||
|
||||
@@ -12,6 +12,12 @@ else
|
||||
VSCODEEXTDIR=`mktemp -d 2>/dev/null`
|
||||
fi
|
||||
|
||||
if [[ "$ADS_TEST_GREP" == "" ]]; then
|
||||
echo Running stable tests only
|
||||
export ADS_TEST_GREP=@UNSTABLE@
|
||||
export ADS_TEST_INVERT_GREP=1
|
||||
fi
|
||||
|
||||
cd $ROOT
|
||||
echo VSCODEUSERDATADIR=$VSCODEUSERDATADIR
|
||||
echo VSCODEEXTDIR=$VSCODEEXTDIR
|
||||
|
||||
Reference in New Issue
Block a user