Skip to content

Commit 45101b9

Browse files
Remove SkipIfI386 in testing base
1 parent 499d318 commit 45101b9

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

core/constraints/arch_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 Canonical Ltd.
2+
// Licensed under the AGPLv3, see LICENCE file for details.
3+
14
package constraints
25

36
import (

provider/dummy/environs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ func (e *environ) ConstraintsValidator(ctx context.ProviderCallContext) (constra
11791179
validator := constraints.NewValidator()
11801180
validator.RegisterUnsupported(unsupportedConstraints)
11811181
validator.RegisterConflicts([]string{constraints.InstanceType}, []string{constraints.Mem})
1182-
validator.RegisterVocabulary(constraints.Arch, []string{arch.AMD64, arch.ARM64, arch.I386, arch.PPC64EL, arch.S390X})
1182+
validator.RegisterVocabulary(constraints.Arch, []string{arch.AMD64, arch.ARM64, arch.PPC64EL, arch.S390X})
11831183
return validator, nil
11841184
}
11851185

testing/base.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,6 @@ func SkipIfPPC64EL(c *gc.C, bugID string) {
110110
}
111111
}
112112

113-
// SkipIfI386 skips the test if the arch is I386.
114-
func SkipIfI386(c *gc.C, bugID string) {
115-
if arch.NormaliseArch(runtime.GOARCH) == arch.I386 {
116-
c.Skip(fmt.Sprintf("Test disabled on I386 until fixed - see bug %s", bugID))
117-
}
118-
}
119-
120113
// SkipIfS390X skips the test if the arch is S390X.
121114
func SkipIfS390X(c *gc.C, bugID string) {
122115
if arch.NormaliseArch(runtime.GOARCH) == arch.S390X {

0 commit comments

Comments
 (0)