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/7f5add046266
branches:  trunk
changeset: 1024216:7f5add046266
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 82f347382d09 -r 7f5add046266 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 82f347382d09 -r 7f5add046266 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