-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Add --x-skipped-cascade-count in support of asserting about casc…
…ade count requested in microsoft/vcpkg#20074 (comment) (#188)
- Loading branch information
1 parent
7155b71
commit 3550bb0
Showing
2 changed files
with
53 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
. $PSScriptRoot/../end-to-end-tests-prelude.ps1 | ||
|
||
# Not a number | ||
Run-Vcpkg ci $Triplet --x-skipped-cascade-count=fish | ||
Throw-IfNotFailed | ||
|
||
# Negative | ||
Run-Vcpkg ci $Triplet --x-skipped-cascade-count=-1 | ||
Throw-IfNotFailed | ||
|
||
# Clearly not the correct answer | ||
Run-Vcpkg ci $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