Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/xlint/lint2 tests/lint: mips64 is not a 64-bit...



details:   https://anonhg.NetBSD.org/src/rev/3cbd84c2e3f3
branches:  trunk
changeset: 1022819:3cbd84c2e3f3
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Aug 08 13:22:22 2021 +0000

description:
tests/lint: mips64 is not a 64-bit platform

See usr.bin/xlint/arch/mips64/targparam.h.

diffstat:

 tests/usr.bin/xlint/lint2/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 93af12842b6e -r 3cbd84c2e3f3 tests/usr.bin/xlint/lint2/Makefile
--- a/tests/usr.bin/xlint/lint2/Makefile        Sun Aug 08 13:19:51 2021 +0000
+++ b/tests/usr.bin/xlint/lint2/Makefile        Sun Aug 08 13:22:22 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2021/08/08 00:02:02 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2021/08/08 13:22:22 rillig Exp $
 
 NOMAN=         yes
 
@@ -16,8 +16,8 @@
 TESTS+=                msg_${msg}
 .endfor
 TESTS+=                read
-.if ${MACHINE_ARCH:M*64}       # close enough to "is a 64-bit platform"
-TESTS+=                read_lp64
+.if ${MACHINE_ARCH:M*64} && !${MACHINE_ARCH:Mmips64*}
+TESTS+=                read_lp64       # only on 64-bit platforms
 .endif
 TESTS+=                read_printf
 



Home | Main Index | Thread Index | Old Index