From 221f83d0e9311f7c6df79c88c6b5f73c9f639131 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Sat, 2 May 2026 17:54:50 +0200 Subject: [PATCH] tools: fix tests for vtest with musl (#27062) --- cmd/tools/vtest_test.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tools/vtest_test.v b/cmd/tools/vtest_test.v index d92db5bae..08ebee362 100644 --- a/cmd/tools/vtest_test.v +++ b/cmd/tools/vtest_test.v @@ -116,7 +116,8 @@ fn test_wimpure_v_warnings_are_shown_for_test_files() { } fn test_js_runtime_errors_are_shown_for_js_tests() { - if @CCOMPILER.contains('musl') || os.getenv('VFLAGS').contains('musl') { + if @CCOMPILER.contains('musl') || os.getenv('VFLAGS').contains('musl') + || os.getenv('V_CI_MUSL') == '1' { return } if os.execute('node --version').exit_code != 0 { -- 2.39.5