Skip to content

Commit

Permalink
add data-workspace unit tests to test-extensions-unit scripts (#14923)
Browse files Browse the repository at this point in the history
  • Loading branch information
kisantia committed Mar 31, 2021
1 parent 1ce10cd commit 0fa9689
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/test-extensions-unit.bat
Expand Up @@ -113,6 +113,10 @@ echo *** starting sql-database-projects tests ***
echo ********************************************
call "%INTEGRATION_TEST_ELECTRON_PATH%" --extensionDevelopmentPath=%~dp0\..\extensions\sql-database-projects --extensionTestsPath=%~dp0\..\extensions\sql-database-projects\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222 --disable-telemetry --disable-crash-reporter --disable-updates --nogpu

echo ********************************************
echo *** starting data-workspace tests ***
echo ********************************************
call "%INTEGRATION_TEST_ELECTRON_PATH%" --extensionDevelopmentPath=%~dp0\..\extensions\data-workspace --extensionTestsPath=%~dp0\..\extensions\data-workspace\out\test --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222 --disable-telemetry --disable-crash-reporter --disable-updates --nogpu

if %errorlevel% neq 0 exit /b %errorlevel%

Expand Down
5 changes: 5 additions & 0 deletions scripts/test-extensions-unit.sh
Expand Up @@ -109,6 +109,11 @@ echo *** starting sql-database-projects tests ***
echo ********************************************
"$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_NO_SANDBOX --extensionDevelopmentPath=$ROOT/extensions/sql-database-projects --extensionTestsPath=$ROOT/extensions/sql-database-projects/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR --disable-telemetry --disable-crash-reporter --disable-updates --nogpu

echo ********************************************
echo *** starting data-workspace tests ***
echo ********************************************
"$INTEGRATION_TEST_ELECTRON_PATH" $LINUX_NO_SANDBOX --extensionDevelopmentPath=$ROOT/extensions/data-workspace --extensionTestsPath=$ROOT/extensions/data-workspace/out/test --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR --disable-telemetry --disable-crash-reporter --disable-updates --nogpu

if [[ "$NO_CLEANUP" == "" ]]; then
rm -r $VSCODEUSERDATADIR
rm -r $VSCODEEXTDIR
Expand Down

0 comments on commit 0fa9689

Please sign in to comment.