-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Change triplet to be processed the same way as how other command…
…s get their triplet. (#442) Processing triplet from command-arguments is a historical artifact from back when the ci command supported multiple triplets at once.
- Loading branch information
1 parent
90b8eba
commit 01a0f96
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
. $PSScriptRoot/../end-to-end-tests-prelude.ps1 | ||
|
||
# Not a number | ||
Run-Vcpkg ci $Triplet --x-skipped-cascade-count=fish | ||
Run-Vcpkg ci --triplet=$Triplet --x-skipped-cascade-count=fish | ||
Throw-IfNotFailed | ||
|
||
# Negative | ||
Run-Vcpkg ci $Triplet --x-skipped-cascade-count=-1 | ||
Run-Vcpkg ci --triplet=$Triplet --x-skipped-cascade-count=-1 | ||
Throw-IfNotFailed | ||
|
||
# Clearly not the correct answer | ||
Run-Vcpkg ci $Triplet --x-skipped-cascade-count=1000 | ||
Run-Vcpkg ci --triplet=$Triplet --x-skipped-cascade-count=1000 | ||
Throw-IfNotFailed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters