forked from jstarks/hcsshim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test]Exclude features, add any feature check (microsoft#1853)
* test: Exclude features, add any feature check Add `-exclude` flag to be able to specify all but a certain set of flags to run, since it is common (especially locally) to want to run all but a certain subset of tests. eg, `functional.test.exe -exclude LCOWIntegrity` will run all test except for those that require rego enforcement. Add `require.AnyFeature` function to check that at least one of the listed feature is specified. This allows skipping a test that with subtests that individually require non-overlapping features, which avoids running generalized test setup Moved `"test/cri-containerd".requireBinary` to `"test/pkg/require".Binary". Signed-off-by: Hamza El-Saawy <[email protected]> * PR: docs, comments, naming Signed-off-by: Hamza El-Saawy <[email protected]> --------- Signed-off-by: Hamza El-Saawy <[email protected]>
- Loading branch information
Showing
20 changed files
with
379 additions
and
143 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
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
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
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
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
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
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
Oops, something went wrong.