From 955c76bd53bbb6630a92efba54dcee261019985f Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 9 Apr 2026 00:42:21 +0800 Subject: update module versions again --- tests/projects/c++/modules/test_headerunits.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/projects/c++/modules/test_headerunits.lua') diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua index e3bf83f83..a63f254d5 100644 --- a/tests/projects/c++/modules/test_headerunits.lua +++ b/tests/projects/c++/modules/test_headerunits.lua @@ -1,6 +1,10 @@ inherit("test_base") -local MSVC_MIN_VER = "14.30" +local _MSVC_MIN_VER = "14.30" + +function msvc_min_ver() + return _MSVC_MIN_VER +end function main(t) local gcc_options = {fallbackscanner = true, compiler = "gcc", version = gcc_min_ver()} @@ -9,7 +13,7 @@ function main(t) if os.arch() == "arm64" or is_subhost("msys") then gcc_options = nil end - local msvc_options = {version = MSVC_MIN_VER} + local msvc_options = {version = msvc_min_ver()} -- skip clang tests, headerunits with clang is not stable run_tests(nil, gcc_options, msvc_options) end -- cgit v1.3.1