distro: housekeeping with cpu arch and arch.Name()
This commit is contained in:
parent
02debc0cda
commit
616258ee25
20 changed files with 51 additions and 50 deletions
|
|
@ -30,6 +30,7 @@ import (
|
|||
"github.com/osbuild/osbuild-composer/internal/boot/openstacktest"
|
||||
"github.com/osbuild/osbuild-composer/internal/boot/vmwaretest"
|
||||
"github.com/osbuild/osbuild-composer/internal/common"
|
||||
"github.com/osbuild/osbuild-composer/internal/distro"
|
||||
"github.com/osbuild/osbuild-composer/internal/test"
|
||||
"github.com/osbuild/osbuild-composer/internal/upload/vmware"
|
||||
)
|
||||
|
|
@ -392,7 +393,7 @@ func testBootUsingOpenStack(t *testing.T, imagePath string) {
|
|||
currentArch := common.CurrentArch()
|
||||
|
||||
// skip on aarch64 because we don't have aarch64 openstack or kvm machines
|
||||
if currentArch == "aarch64" {
|
||||
if currentArch == distro.Aarch64ArchName {
|
||||
t.Skip("Openstack boot test is skipped on aarch64.")
|
||||
// if no credentials are given, fall back to qemu
|
||||
} else if (creds == gophercloud.AuthOptions{}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue