diff options
| author | Arthur LAURENT <[email protected]> | 2025-11-26 15:29:03 +0100 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-18 09:31:44 +0800 |
| commit | c765a2c1cac6ab126efc779eb4c823c5573dd25d (patch) | |
| tree | ce2489bbe8abc8b9cbc807512b641b82d4a506b3 /tests/projects/c++/modules/test_base.lua | |
| parent | 5dcd669f6e3017d6939af6fd391803c13395406a (diff) | |
(llvm) add runtime dirs to runenvs (for asan and libunwind)
Diffstat (limited to 'tests/projects/c++/modules/test_base.lua')
| -rw-r--r-- | tests/projects/c++/modules/test_base.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/projects/c++/modules/test_base.lua b/tests/projects/c++/modules/test_base.lua index 0a0d07dae..466a59e98 100644 --- a/tests/projects/c++/modules/test_base.lua +++ b/tests/projects/c++/modules/test_base.lua @@ -11,7 +11,7 @@ MSVC_MIN_VER = "14.29" function _build(check_outdata) local flags = "" if ci_is_running() then - flags = "-vD" + flags = "-vD" end if check_outdata then local outdata @@ -101,6 +101,9 @@ function build_tests(toolchain_name, opt) if opt.flags then flags = " " .. table.concat(opt.flags, " ") end + if ci_is_running() then + flags = flags .. " -vD" + end os.exec("xmake clean -a") os.exec("xmake f" .. platform .. "--toolchain=" .. toolchain_name .. runtimes .. "-c --yes " .. policies .. flags) |
