diff options
| author | Arthur LAURENT <[email protected]> | 2025-08-14 20:16:43 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-08-14 20:16:43 +0200 |
| commit | d954d64c22f33df5a4de12309b992ec2a4727037 (patch) | |
| tree | 5ae428da8fdde545c82dc07c7b7d0a25ecf461f0 /tests/projects/c++/modules/test_duplicate_modules.lua | |
| parent | 84fcc1fd63aec5b6126f35806305326e4ecb936f (diff) | |
nfc(c++ modules) improve tests
Diffstat (limited to 'tests/projects/c++/modules/test_duplicate_modules.lua')
| -rw-r--r-- | tests/projects/c++/modules/test_duplicate_modules.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/projects/c++/modules/test_duplicate_modules.lua b/tests/projects/c++/modules/test_duplicate_modules.lua index f6b7fd43b..98a27d739 100644 --- a/tests/projects/c++/modules/test_duplicate_modules.lua +++ b/tests/projects/c++/modules/test_duplicate_modules.lua @@ -6,13 +6,13 @@ GCC_MIN_VER = "11" MSVC_MIN_VER = "14.29" function _build() + local flags = "" + if ci_is_running() then + flags = "-vD" + end try { function () - if ci_is_running() then - os.run("xmake -rvD") - else - os.run("xmake -r") - end + os.run("xmake -r " .. flags) end, catch { function (errors) |
