aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/config_test.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-07-04 18:09:30 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-07-04 18:09:30 +0200
commit33a474286b7e64429f73d9faf4f7e35e4b815bef (patch)
treeeb6b2d3bdae300bdbdb856c1732ff1f816e9144d /pkg/machine/config_test.go
parent5b1867923e1f1787e0675e9a808c3385b6348eee (diff)
downloadpodman-33a474286b7e64429f73d9faf4f7e35e4b815bef.tar.gz
podman-33a474286b7e64429f73d9faf4f7e35e4b815bef.tar.bz2
podman-33a474286b7e64429f73d9faf4f7e35e4b815bef.zip
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>
Diffstat (limited to 'pkg/machine/config_test.go')
-rw-r--r--pkg/machine/config_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/machine/config_test.go b/pkg/machine/config_test.go
index d9fc5425e..ca08660b9 100644
--- a/pkg/machine/config_test.go
+++ b/pkg/machine/config_test.go
@@ -1,3 +1,6 @@
+//go:build amd64 || arm64
+// +build amd64 arm64
+
package machine
import (