summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/test_base.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-29 21:01:34 +0800
committerruki <[email protected]>2025-12-29 00:09:39 +0800
commitd0fe8c0f73b32f1e7dee88e6a5b4ec275c4b31f4 (patch)
treef5348edbd7e7ff5bbc7bea5a60eeea495262ea6c /tests/projects/c++/modules/test_base.lua
parenta8d8c7382309f0a4eb5fd8adff072d0ae316c164 (diff)
improve test
Diffstat (limited to 'tests/projects/c++/modules/test_base.lua')
-rw-r--r--tests/projects/c++/modules/test_base.lua12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/test_base.lua b/tests/projects/c++/modules/test_base.lua
index 6f2a42088..29d6f51bc 100644
--- a/tests/projects/c++/modules/test_base.lua
+++ b/tests/projects/c++/modules/test_base.lua
@@ -126,7 +126,11 @@ function run_tests(clang_options, gcc_options, msvc_options)
end
if is_subhost("windows") then
if clang_options then
- build_tests("llvm", clang_options)
+ 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("clang", clang_options)
build_tests("clang", table.join(clang_options, {two_phases = false}))
if not clang_options.disable_clang_cl then
@@ -136,12 +140,12 @@ function run_tests(clang_options, gcc_options, msvc_options)
build_tests("clang-cl", clang_cl_options)
build_tests("clang-cl", table.join(clang_options, {two_phases = false}))
end
- if not clang_options.stdmodule then
+ if clang_options.stdmodule then
+ wprint("std modules tests skipped for Windows clang libc++ as it's not currently supported officially")
+ else
build_tests("llvm", clang_libcpp_options)
build_tests("clang", clang_libcpp_options)
build_tests("clang", table.join(clang_libcpp_options, {two_phases = false}))
- else
- wprint("std modules tests skipped for Windows clang libc++ as it's not currently supported officially")
end
end
if msvc_options then