Skip to content

Commit 5d25fc4

Browse files
committed
modify script
1 parent 4468cac commit 5d25fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines/end-to-end-tests-dir/build-test-ports.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ if ($firstMatch -lt 0) {
8080
Refresh-TestRoot
8181
$output = Run-VcpkgAndCaptureOutput @commonArgs --overlay-ports="$PSScriptRoot/../e2e-ports/overlays" install vcpkg-hello-world-1:x64-no-vcvars
8282
Throw-IfNotFailed
83-
if ($output -notmatch 'detecting compiler information') {
83+
if ($output -notmatch 'Error code: 1') {
8484
throw 'VCPKG_LOAD_VCVARS_ENV disables calling vcvars'
8585
}

0 commit comments

Comments
 (0)