pkg/machine: add missing build tags to tests

Machine can only run on amd64 and arm64 platforms so we need to make
sure the test are only run on those platforms. We do not have CI checks
for this but it fails in debian build infra since debian supports many
other architectures as well.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2022-07-04 18:09:30 +02:00
parent 5b1867923e
commit 33a474286b
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,6 @@
//go:build amd64 || arm64
// +build amd64 arm64
package machine
import (

View File

@ -1,3 +1,6 @@
//go:build (amd64 && !windows) || (arm64 && !windows)
// +build amd64,!windows arm64,!windows
package qemu
import (

View File

@ -1,3 +1,6 @@
//go:build (amd64 && !windows) || (arm64 && !windows)
// +build amd64,!windows arm64,!windows
package qemu
import (