Update MSI tests to use new output directory layout
This commit is contained in:
parent
c6e4c8f477
commit
2222290394
2 changed files with 5 additions and 3 deletions
|
@ -199,7 +199,8 @@
|
||||||
|
|
||||||
<Exec Command ="powershell -NoProfile -NoLogo $(SdkTestMsiPowershellScript)
|
<Exec Command ="powershell -NoProfile -NoLogo $(SdkTestMsiPowershellScript)
|
||||||
-InputMsi '$(SdkInstallerFile)'
|
-InputMsi '$(SdkInstallerFile)'
|
||||||
-DotnetDir '$(PreviousStageDirectory)'" />
|
-DotnetDir '$(PreviousStageDirectory)'
|
||||||
|
-TestDir '$(TestOutputDir)'" />
|
||||||
|
|
||||||
<WriteLinesToFile
|
<WriteLinesToFile
|
||||||
File="$(SdkMsiTestedSentinel)"
|
File="$(SdkMsiTestedSentinel)"
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
param(
|
param(
|
||||||
[string]$InputMsi,
|
[string]$InputMsi,
|
||||||
[string]$DotnetDir
|
[string]$DotnetDir,
|
||||||
|
[string]$TestDir
|
||||||
)
|
)
|
||||||
|
|
||||||
. "$PSScriptRoot\..\..\scripts\common\_common.ps1"
|
. "$PSScriptRoot\..\..\scripts\common\_common.ps1"
|
||||||
|
@ -37,7 +38,7 @@ if(!(Test-Path $inputMsi))
|
||||||
|
|
||||||
$testName = "Microsoft.DotNet.Cli.Msi.Tests"
|
$testName = "Microsoft.DotNet.Cli.Msi.Tests"
|
||||||
$testProj="$PSScriptRoot\$testName\$testName.csproj"
|
$testProj="$PSScriptRoot\$testName\$testName.csproj"
|
||||||
$testBin="$RepoRoot\artifacts\tests\$testName"
|
$testBin="$TestDir\$testName"
|
||||||
|
|
||||||
pushd "$DotnetDir"
|
pushd "$DotnetDir"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue