Makefile: localunit skips every package under pkg/bindings
The localunit target currently passes pkg/bindings in its
--skip-package list when invoking Ginkgo.
Since the skip pattern is matched as a substring, this ends up skipping
all packages under pkg/bindings, rather than just pkg/bindings/test.
The latter appears to be the intended exclusion, since that suite requires
a running Podman service.
This also means that the unit tests in the following packages are not being run in CI:
pkg/bindings— 14 tests inconnection_stdio_test.gopkg/bindings/internal/util— 13 tests inutil_test.gopkg/bindings/images— 3 tests inbuild_test.go
While looking into this, I also found that
TestConvertAdditionalBuildContexts in
pkg/bindings/images/build_test.go fails on a regular Linux host. The test
expects C:\test to be converted to /mnt/c/test, but
specgen.ConvertWinMountPath only performs this conversion when
shouldResolveWinPaths() is true. On Linux, that is limited to WSL or
Hyper-V environments.
The Windows-specific expectation should therefore be moved to a
Windows-only test file, similar to the existing
volumes_linux_test.go / volumes_windows_test.go split in pkg/specgen.
Once that test is separated, the skip entry can be narrowed to
pkg/bindings/test, allowing the other unit tests under pkg/bindings
to run normally in CI.