Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2024 22:21:44 GMT
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 60c3d7fe37ab - 2024Q1 - lang/go{-121,-devel}: Fix tests running under nobody user and mark TESTING_UNSAFE.
Message-ID:  <202403062221.426MLijX034123@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by ashish:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60c3d7fe37ab491c02dd2dbc46e5830c68b93313

commit 60c3d7fe37ab491c02dd2dbc46e5830c68b93313
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-02 13:05:30 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-03-06 22:05:14 +0000

    lang/go{-121,-devel}: Fix tests running under nobody user and mark TESTING_UNSAFE.
    
    (cherry picked from commit 71cdbc6f78821b56fee1ec282a4a0d31026f68f0)
---
 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?202403062221.426MLijX034123>