diff options
Diffstat (limited to 'tests/projects/c++/modules/test_base.lua')
| -rw-r--r-- | tests/projects/c++/modules/test_base.lua | 12 |
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 |
