mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
add --nogpu to our integration tests (#7495)
This commit is contained in:
@@ -21,10 +21,10 @@ if "%SKIP_PYTHON_INSTALL_TEST%" == "1" (
|
|||||||
) else (
|
) else (
|
||||||
set PYTHON_TEST_PATH=%VSCODEUSERDATADIR%\TestPythonInstallation
|
set PYTHON_TEST_PATH=%VSCODEUSERDATADIR%\TestPythonInstallation
|
||||||
echo %PYTHON_TEST_PATH%
|
echo %PYTHON_TEST_PATH%
|
||||||
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\notebook --extensionTestsPath=%~dp0\..\extensions\notebook\out\integrationTest --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
call .\scripts\code.bat --nogpu --extensionDevelopmentPath=%~dp0\..\extensions\notebook --extensionTestsPath=%~dp0\..\extensions\notebook\out\integrationTest --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
||||||
)
|
)
|
||||||
|
|
||||||
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\integration-tests --extensionTestsPath=%~dp0\..\extensions\integration-tests\out --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
call .\scripts\code.bat -nogpu --extensionDevelopmentPath=%~dp0\..\extensions\integration-tests --extensionTestsPath=%~dp0\..\extensions\integration-tests\out --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
|
||||||
|
|
||||||
rmdir /s /q %VSCODEUSERDATADIR%
|
rmdir /s /q %VSCODEUSERDATADIR%
|
||||||
rmdir /s /q %VSCODEEXTENSIONSDIR%
|
rmdir /s /q %VSCODEEXTENSIONSDIR%
|
||||||
|
|||||||
@@ -41,10 +41,11 @@ if [[ "$SKIP_PYTHON_INSTALL_TEST" == "1" ]]; then
|
|||||||
else
|
else
|
||||||
export PYTHON_TEST_PATH=$VSCODEUSERDATADIR/TestPythonInstallation
|
export PYTHON_TEST_PATH=$VSCODEUSERDATADIR/TestPythonInstallation
|
||||||
echo $PYTHON_TEST_PATH
|
echo $PYTHON_TEST_PATH
|
||||||
$INTEGRATION_TEST_ELECTRON_PATH --extensionDevelopmentPath=$ROOT/extensions/notebook --extensionTestsPath=$ROOT/extensions/notebook/out/integrationTest --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR --remote-debugging-port=9222 --disable-telemetry --disable-crash-reporter --disable-updates --skip-getting-started --disable-inspect
|
|
||||||
|
$INTEGRATION_TEST_ELECTRON_PATH --nogpu --extensionDevelopmentPath=$ROOT/extensions/notebook --extensionTestsPath=$ROOT/extensions/notebook/out/integrationTest --user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR --remote-debugging-port=9222 --disable-telemetry --disable-crash-reporter --disable-updates --skip-getting-started --disable-inspect
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$INTEGRATION_TEST_ELECTRON_PATH --extensionDevelopmentPath=$ROOT/extensions/admin-pack \
|
$INTEGRATION_TEST_ELECTRON_PATH --nogpu --extensionDevelopmentPath=$ROOT/extensions/admin-pack \
|
||||||
--extensionDevelopmentPath=$ROOT/extensions/admin-tool-ext-win \
|
--extensionDevelopmentPath=$ROOT/extensions/admin-tool-ext-win \
|
||||||
--extensionDevelopmentPath=$ROOT/extensions/agent \
|
--extensionDevelopmentPath=$ROOT/extensions/agent \
|
||||||
--extensionDevelopmentPath=$ROOT/extensions/azurecore \
|
--extensionDevelopmentPath=$ROOT/extensions/azurecore \
|
||||||
@@ -62,5 +63,6 @@ $INTEGRATION_TEST_ELECTRON_PATH --extensionDevelopmentPath=$ROOT/extensions/admi
|
|||||||
--user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR \
|
--user-data-dir=$VSCODEUSERDATADIR --extensions-dir=$VSCODEEXTDIR \
|
||||||
--disable-telemetry --disable-crash-reporter --disable-updates --skip-getting-started --disable-inspect
|
--disable-telemetry --disable-crash-reporter --disable-updates --skip-getting-started --disable-inspect
|
||||||
|
|
||||||
|
|
||||||
rm -r -f $VSCODEUSERDATADIR
|
rm -r -f $VSCODEUSERDATADIR
|
||||||
rm -r $VSCODEEXTDIR
|
rm -r $VSCODEEXTDIR
|
||||||
|
|||||||
Reference in New Issue
Block a user