Skip to content

Commit

Permalink
Enforce end-to-end tests to build with mocks...
Browse files Browse the repository at this point in the history
... if using the .\tools\build\build-appx.ps1 script.
  • Loading branch information
CarlosNihelton committed Oct 19, 2023
1 parent afee959 commit 9c11c85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build/build-appx.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ catch {
Start-VsDevShell
}

If ($mode -eq 'production' -and $null -ne $env:UP4W_TEST_WITH_MS_STORE_MOCK) {
Write-Warning "Building the app in Release mode with UP4W_TEST_WITH_MS_STORE_MOCK env var set may lead to build failure or surprising results. Value is $env:UP4W_TEST_WITH_MS_STORE_MOCK."
If ($mode -eq 'end_to_end_tests') {
$env:UP4W_TEST_WITH_MS_STORE_MOCK = 1
}

msbuild.exe `
Expand Down

0 comments on commit 9c11c85

Please sign in to comment.