aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/kd
diff options
context:
space:
mode:
authorAlexander Egorenkov <Alexander.Egorenkov@ibm.com>2020-06-23 17:46:15 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-23 21:24:30 +0200
commitbbad15ae75da01150f3b1fed1a3837f5f5bedc89 (patch)
treefac55cc631521270f128cbf8292b9d55330fbc9e /pkg/kd
parent6930bbef3b671ae21f74007f9e59efb9b236b93f (diff)
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 <Alexander.Egorenkov@ibm.com>
Diffstat (limited to 'pkg/kd')
-rw-r--r--pkg/kd/kd_test.go2
1 files changed, 2 insertions, 0 deletions
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 (