mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 09:59:47 -05:00
* Added verify OE child nodes tests for sandalone and BDC instance * msg changes * Added standalone OE node test * Resolved PR comments * Change env name * Added scripts to set env for integration test
24 lines
731 B
Bash
Executable File
24 lines
731 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
|
|
ROOT=$(dirname $(dirname $(realpath "$0")))
|
|
VSCODEUSERDATADIR=`mktemp -d -t 'myuserdatadir'`
|
|
VSCODEEXTDIR=`mktemp -d -t 'myextdir'`
|
|
else
|
|
ROOT=$(dirname $(dirname $(readlink -f $0)))
|
|
VSCODEUSERDATADIR=`mktemp -d 2>/dev/null`
|
|
VSCODEEXTDIR=`mktemp -d 2>/dev/null`
|
|
fi
|
|
|
|
cd $ROOT
|
|
echo $VSCODEUSERDATADIR
|
|
echo $VSCODEEXTDIR
|
|
|
|
./scripts/code.sh --extensionDevelopmentPath=$ROOT/extensions/integration-tests --extensionTestsPath=$ROOT/extensions/integration-tests/out --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR --remote-debugging-port=9222
|
|
|
|
|
|
rm -r $VSCODEUSERDATADIR
|
|
rm -r $VSCODEEXTDIR
|