Skip to content

Commit

Permalink
Annotate non-windows compatible image tests
Browse files Browse the repository at this point in the history
Signed-off-by: apostasie <[email protected]>
  • Loading branch information
apostasie committed Nov 2, 2024
1 parent 4623930 commit 93189e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/nerdctl/image/image_convert_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func TestImageConvert(t *testing.T) {

testCase := &test.Case{
Require: test.Require(
// FIXME: windows does not support stargz
test.Not(test.Windows),
test.Not(nerdtest.Docker),
),
Expand Down
1 change: 1 addition & 0 deletions cmd/nerdctl/image/image_inspect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func TestImageInspectDifferentValidReferencesForTheSameImage(t *testing.T) {
testCase := &test.Case{
Require: test.Require(
test.Not(nerdtest.Docker),
// FIXME: this test depends on hub images that do not have windows versions
test.Not(test.Windows),
// We need a clean slate
nerdtest.Private,
Expand Down
1 change: 1 addition & 0 deletions cmd/nerdctl/image/image_save_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func TestSaveContent(t *testing.T) {
nerdtest.Setup()

testCase := &test.Case{
// FIXME: move to busybox for windows?
Require: test.Not(test.Windows),
Setup: func(data test.Data, helpers test.Helpers) {
helpers.Ensure("pull", "--quiet", testutil.CommonImage)
Expand Down

0 comments on commit 93189e1

Please sign in to comment.