From bbad15ae75da01150f3b1fed1a3837f5f5bedc89 Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Tue, 23 Jun 2020 17:46:15 +0200 Subject: target: support of big-endian architectures * Introduce the new target flag 'LittleEndian' which specifies of which endianness the target is. * Introduce the new requires flag 'littleendian' for tests to selectively enable/disable tests on either little-endian architectures or big-endian ones. * Disable KD unit test on s390x architecture because the test works only on little-endian architecture. Signed-off-by: Alexander Egorenkov --- pkg/kd/kd_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/kd') diff --git a/pkg/kd/kd_test.go b/pkg/kd/kd_test.go index e35a47272..9ffeaf315 100644 --- a/pkg/kd/kd_test.go +++ b/pkg/kd/kd_test.go @@ -1,6 +1,8 @@ // Copyright 2017 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +// +build !s390x + package kd import ( -- cgit mrf-deployment