git: 71cdbc6f7882 - main - lang/go{-121,-devel}: Fix tests running under nobody user and mark TESTING_UNSAFE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Mar 2024 13:08:30 UTC
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"