Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin asan is supported on aarch64
details: https://anonhg.NetBSD.org/src/rev/552089e48699
branches: trunk
changeset: 989137:552089e48699
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Oct 12 18:40:01 2021 +0000
description:
asan is supported on aarch64
diffstat:
tests/usr.bin/c++/asan_common.subr | 6 +++++-
tests/usr.bin/cc/asan_common.subr | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r d6c233024600 -r 552089e48699 tests/usr.bin/c++/asan_common.subr
--- a/tests/usr.bin/c++/asan_common.subr Tue Oct 12 18:22:01 2021 +0000
+++ b/tests/usr.bin/c++/asan_common.subr Tue Oct 12 18:40:01 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: asan_common.subr,v 1.2 2019/01/29 20:07:03 mgorny Exp $
+# $NetBSD: asan_common.subr,v 1.3 2021/10/12 18:40:01 skrll Exp $
#
# Copyright (c) 2018, 2019 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -27,6 +27,10 @@
SUPPORT='n'
test_target() {
+ if uname -p | grep -q "aarch64"; then
+ SUPPORT='y'
+ fi
+
if uname -m | grep -q "amd64"; then
SUPPORT='y'
fi
diff -r d6c233024600 -r 552089e48699 tests/usr.bin/cc/asan_common.subr
--- a/tests/usr.bin/cc/asan_common.subr Tue Oct 12 18:22:01 2021 +0000
+++ b/tests/usr.bin/cc/asan_common.subr Tue Oct 12 18:40:01 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: asan_common.subr,v 1.1 2019/01/29 19:56:37 mgorny Exp $
+# $NetBSD: asan_common.subr,v 1.2 2021/10/12 18:40:01 skrll Exp $
#
# Copyright (c) 2018, 2019 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -27,6 +27,10 @@
SUPPORT='n'
test_target() {
+ if uname -p | grep -q "aarch64"; then
+ SUPPORT='y'
+ fi
+
if uname -m | grep -q "amd64"; then
SUPPORT='y'
fi
Home |
Main Index |
Thread Index |
Old Index