Update machine tests README

Windows now has a winmake file for easier testing, so document that.

Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
Ashley Cui
2023-09-25 01:55:54 -04:00
parent 995a6a8ac4
commit 127ebe2b27

View File

@ -13,17 +13,20 @@ Note: you must not have any machines defined before running tests
1. Open a powershell as admin
1. $env:CONTAINERS_MACHINE_PROVIDER="hyperv"
1. $env:MACHINE_IMAGE="https://fedorapeople.org/groups/podman/testing/hyperv/fedora-coreos-38.20230830.dev.0-hyperv.x86_64.vhdx.zip"
1. `./test/tools/build/ginkgo.exe -vv --tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote" -timeout=90m --trace --no-color pkg/machine/e2e/. `
1. `./winmake localmachine`
Note: Add `--focus-file "basic_test.go" ` to only run basic test
Note: To run specfic test files, add the test files to the end of the winmake command:
`./winmake localmachine "basic_test.go start_test.go"`
### WSL
1. Open a powershell as a regular user
1. Build and copy win-sshproxy into bin/
1. `./test/tools/build/ginkgo.exe -vv --tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote" -timeout=90m --trace --no-color pkg/machine/e2e/. `
1. `./winmake localmachine`
Note: Add `--focus-file "basic_test.go" ` to only run basic test
Note: To run specfic test files, add the test files to the end of the winmake command:
`./winmake localmachine "basic_test.go start_test.go"`
## MacOS