diff options
| author | ruki <[email protected]> | 2026-04-08 00:46:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-04-08 00:46:54 +0800 |
| commit | 642adc138d7c3dee097328b27c327e5c34fccf00 (patch) | |
| tree | 1d2d4ac2d58fef2eb1f9c327b18a344024809607 /tests/projects/c++/modules/test_headerunits.lua | |
| parent | ad2ec59e16d975d0fae054649ad360fe85031012 (diff) | |
improve versions in c++ modules tests
Diffstat (limited to 'tests/projects/c++/modules/test_headerunits.lua')
| -rw-r--r-- | tests/projects/c++/modules/test_headerunits.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua index 610838312..e3bf83f83 100644 --- a/tests/projects/c++/modules/test_headerunits.lua +++ b/tests/projects/c++/modules/test_headerunits.lua @@ -1,10 +1,9 @@ inherit("test_base") -GCC_MIN_VER = "11" -MSVC_MIN_VER = "14.30" +local MSVC_MIN_VER = "14.30" function main(t) - local gcc_options = {fallbackscanner = true, compiler = "gcc", version = GCC_MIN_VER} + local gcc_options = {fallbackscanner = true, compiler = "gcc", version = gcc_min_ver()} -- gcc/arm64: internal compiler error: in core_vals, at cp/module.cc:6108 -- on windows, mingw modulemapper doesn't handle headeunit path correctly, but it's working with mingw on macOS / Linux if os.arch() == "arm64" or is_subhost("msys") then |
