Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2024 13:08:30 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 71cdbc6f7882 - main - lang/go{-121,-devel}: Fix tests running under nobody user and mark TESTING_UNSAFE.
Message-ID:  <202403021308.422D8UjE062976@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71cdbc6f78821b56fee1ec282a4a0d31026f68f0

commit 71cdbc6f78821b56fee1ec282a4a0d31026f68f0
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-02 13:05:30 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-02 13:07:22 +0000

    lang/go{-121,-devel}: Fix tests running under nobody user and mark TESTING_UNSAFE.
---
 lang/go-devel/Makefile | 1 +
 lang/go121/Makefile    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lang/go-devel/Makefile b/lang/go-devel/Makefile
index 0882e9f806a0..496f3dbab979 100644
--- a/lang/go-devel/Makefile
+++ b/lang/go-devel/Makefile
@@ -124,6 +124,7 @@ do-install:
 
 do-test:
 	cd ${WRKSRC}/src && ${SETENV} \
+		${TEST_ENV} \
 		GOROOT=${WRKSRC} \
 		PATH=${WRKSRC}/bin:${PATH} \
 		GOOS=${OPSYS:tl} \
diff --git a/lang/go121/Makefile b/lang/go121/Makefile
index 71bdd142905f..fca4a002c2fe 100644
--- a/lang/go121/Makefile
+++ b/lang/go121/Makefile
@@ -21,5 +21,6 @@ DISTINFO_FILE=	${.CURDIR}/distinfo
 SHEBANG_FILES=	misc/wasm/go_js_wasm_exec \
 		src/net/http/cgi/testdata/test.cgi
 BASH=		${SH}
+TESTING_UNSAFE=	MemorySanitizer: use-of-uninitialized-value (/tmp/TestMSAN747758340/msan8+0x11efcf) in msanGoLoop
 
 .include "${MASTERDIR}/Makefile"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403021308.422D8UjE062976>