aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/infra/hst_suite.go
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2024-12-08 15:13:44 +0100
committerFlorin Coras <florin.coras@gmail.com>2024-12-10 05:06:06 +0000
commitc4b4cd5e77cc5f3305c90eecf802c601392b7975 (patch)
treed07443483328c76b5b3fcaf0e1e04cf838cbb8fb /extras/hs-test/infra/hst_suite.go
parent8b2a67c8f3977291fbafca37a435b5cd1ef4c214 (diff)
hs-test: arm support
CPU arch dependencies cleanup. Everything works fine apart from redis-benchmark test. Type: test Change-Id: I4a1e7d3bce994f6ea0681e06955ef9c621468642 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras/hs-test/infra/hst_suite.go')
-rw-r--r--extras/hs-test/infra/hst_suite.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/hs-test/infra/hst_suite.go b/extras/hs-test/infra/hst_suite.go
index 9a3a3c9c8f6..0cedfc692b0 100644
--- a/extras/hs-test/infra/hst_suite.go
+++ b/extras/hs-test/infra/hst_suite.go
@@ -439,6 +439,12 @@ func (s *HstSuite) SkipUnlessLeakCheck() {
}
}
+func (s *HstSuite) SkipIfArm() {
+ if runtime.GOARCH == "arm64" {
+ s.Skip("test case not supported on arm")
+ }
+}
+
func (s *HstSuite) WaitForCoreDump() bool {
var filename string
dir, err := os.Open(s.getLogDirPath())