diff options
| author | ruki <[email protected]> | 2025-12-29 22:32:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-29 22:32:44 +0800 |
| commit | 34c820992ce4dd7a11ed644f7ab253a98466c54d (patch) | |
| tree | bb6e90071765465d8fb5e6e87fe2a3d94158f0bf /tests/projects/c++/modules | |
| parent | d0fe8c0f73b32f1e7dee88e6a5b4ec275c4b31f4 (diff) | |
fix module tests
Diffstat (limited to 'tests/projects/c++/modules')
| -rw-r--r-- | tests/projects/c++/modules/test_base.lua | 6 | ||||
| -rw-r--r-- | tests/projects/c++/modules/xmake_tests4/xmake.lua | 3 |
2 files changed, 1 insertions, 8 deletions
diff --git a/tests/projects/c++/modules/test_base.lua b/tests/projects/c++/modules/test_base.lua index 29d6f51bc..6116b36e6 100644 --- a/tests/projects/c++/modules/test_base.lua +++ b/tests/projects/c++/modules/test_base.lua @@ -126,11 +126,7 @@ function run_tests(clang_options, gcc_options, msvc_options) end if is_subhost("windows") then if clang_options then - if clang_options.stdmodule then - wprint("std modules tests skipped for Windows llvm (default: libc++), as it's not currently supported officially") - else - build_tests("llvm", clang_options) - end + build_tests("llvm", clang_options) build_tests("clang", clang_options) build_tests("clang", table.join(clang_options, {two_phases = false})) if not clang_options.disable_clang_cl then diff --git a/tests/projects/c++/modules/xmake_tests4/xmake.lua b/tests/projects/c++/modules/xmake_tests4/xmake.lua index 63a01661e..43a330fe1 100644 --- a/tests/projects/c++/modules/xmake_tests4/xmake.lua +++ b/tests/projects/c++/modules/xmake_tests4/xmake.lua @@ -1,10 +1,7 @@ add_rules("mode.debug", "mode.release") set_languages("c++23") -set_encodings("utf-8") ---add_rules("plugin.compile_commands.autoupdate", {outputdir = ".vscode"}) target("llvm") set_kind("binary") - set_runtimes("c++_shared") add_files("src/*.cpp", "src/*.mpp") add_tests("test", { files = "test/test.cpp", remove_files = "src/main.cpp" }) |
