mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Moved to test directory.
This commit is contained in:
parent
8973edf9cc
commit
7e6fb9ffab
|
@ -1,10 +1,9 @@
|
|||
Param(
|
||||
[Parameter(Position=0,mandatory=$true)]
|
||||
[string] $latest,
|
||||
[Parameter(Position=1,mandatory=$false)]
|
||||
[string] $stable
|
||||
[string]$arch
|
||||
)
|
||||
|
||||
|
||||
# Setup sample repository for the smoke test
|
||||
Set-Location ..
|
||||
if (-Not (Test-Path vscode-smoketest-express)) {
|
||||
|
@ -19,14 +18,14 @@ if (-Not (Test-Path vscode-smoketest-express)) {
|
|||
npm install
|
||||
|
||||
# Setup the test directory for running
|
||||
Set-Location ..\smoketest
|
||||
Set-Location ..\smoke
|
||||
if (-Not (Test-Path node_modules)) {
|
||||
npm install
|
||||
}
|
||||
|
||||
# Configure environment variables
|
||||
$env:VSCODE_LATEST_PATH = $latest
|
||||
$env:VSCODE_STABLE_PATH = $stable
|
||||
$env:VSCODE_LATEST_PATH = "$Root\VSCode-win32-$arch"
|
||||
# $env:VSCODE_STABLE_PATH = $stable
|
||||
$env:SMOKETEST_REPO = "..\vscode-smoketest-express"
|
||||
|
||||
if ($latest.Contains('Insiders')) {
|
Loading…
Reference in a new issue