diff options
| author | ruki <[email protected]> | 2026-04-08 21:45:39 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-08 21:45:39 +0800 |
| commit | 895072e295a4d8f3a4565cf73a5a600fe3e416dd (patch) | |
| tree | b49cf8231f9a7a72d366f4c7c4110f3e862e3a05 /tests/projects/c++/modules/test_culling.lua | |
| parent | 3a91a8b27ebc9d40656750615a3606e5fe971fc9 (diff) | |
| parent | 642adc138d7c3dee097328b27c327e5c34fccf00 (diff) | |
Merge pull request #7463 from xmake-io/modules
improve versions in c++ modules tests
Diffstat (limited to 'tests/projects/c++/modules/test_culling.lua')
| -rw-r--r-- | tests/projects/c++/modules/test_culling.lua | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/projects/c++/modules/test_culling.lua b/tests/projects/c++/modules/test_culling.lua index a2b046e74..aea234eab 100644 --- a/tests/projects/c++/modules/test_culling.lua +++ b/tests/projects/c++/modules/test_culling.lua @@ -1,13 +1,9 @@ inherit("test_base") -CLANG_MIN_VER = is_subhost("windows") and "19" or "17" -GCC_MIN_VER = "11" -MSVC_MIN_VER = "14.29" - function main(_) local check_outdata = {str = "culled", format_string = "Modules culling does not work"} - local clang_options = {compiler = "clang", version = CLANG_MIN_VER, check_outdata = check_outdata} - local gcc_options = {compiler = "gcc", version = GCC_MIN_VER, check_outdata = check_outdata} - local msvc_options = {version = MSVC_MIN_VER, check_outdata = check_outdata} + local clang_options = {compiler = "clang", version = clang_min_ver(), check_outdata = check_outdata} + local gcc_options = {compiler = "gcc", version = gcc_min_ver(), check_outdata = check_outdata} + local msvc_options = {version = msvc_min_ver(), check_outdata = check_outdata} run_tests(clang_options, gcc_options, msvc_options) end |
