aboutsummaryrefslogtreecommitdiffstats
path: root/executor/test.h
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2024-12-05 11:21:48 +0100
committerAlexander Potapenko <glider@google.com>2024-12-05 10:57:12 +0000
commit31e83944d0a78e544fe45fb61f21f929607d08e3 (patch)
treed78b57535060b8c2250394733e09c832625255e9 /executor/test.h
parent3255c6513f118900b5c41e9cf7a93c09118e2a29 (diff)
executor: add test_syzos() for arm64
Make sure regressions in guest code validation are reported during testing rather than fuzzing.
Diffstat (limited to 'executor/test.h')
-rw-r--r--executor/test.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/executor/test.h b/executor/test.h
index ba318dece..8997ef52f 100644
--- a/executor/test.h
+++ b/executor/test.h
@@ -1,7 +1,7 @@
// 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.
-#if GOOS_linux && (GOARCH_amd64 | GOARCH_ppc64 | GOARCH_ppc64le)
+#if GOOS_linux && (GOARCH_amd64 || GOARCH_ppc64 || GOARCH_ppc64le || GOARCH_arm64)
#include "test_linux.h"
#endif
@@ -372,9 +372,12 @@ static struct {
{"test_copyin", test_copyin},
{"test_csum_inet", test_csum_inet},
{"test_csum_inet_acc", test_csum_inet_acc},
-#if GOOS_linux && (GOARCH_amd64 || GOARCH_ppc64 || GOARCH_ppc64le)
+#if GOOS_linux && (GOARCH_amd64 || GOARCH_ppc64 || GOARCH_ppc64le || GOARCH_arm64)
{"test_kvm", test_kvm},
#endif
+#if GOOS_linux && GOARCH_arm64
+ {"test_syzos", test_syzos},
+#endif
{"test_cover_filter", test_cover_filter},
{"test_glob", test_glob},
};