summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-12 22:57:41 +0800
committerruki <[email protected]>2025-01-12 22:57:41 +0800
commitc9f630737ed79ff4b56f9ea74656492db5b45dcb (patch)
tree81e598e93a980f881751a40e97bd9a756c968399 /tests/projects/c++/modules
parent229373a8e84b72e0a5a6c768c76ad29c040355f0 (diff)
fix ci
Diffstat (limited to 'tests/projects/c++/modules')
-rw-r--r--tests/projects/c++/modules/test_base.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/test_base.lua b/tests/projects/c++/modules/test_base.lua
index 80206983a..3f12d860e 100644
--- a/tests/projects/c++/modules/test_base.lua
+++ b/tests/projects/c++/modules/test_base.lua
@@ -58,11 +58,11 @@ function main(t)
end
local clang = find_tool("clang", {version = true})
if clang and clang.version and semver.compare(clang.version, "14.0") >= 0 then
- os.exec("xmake clean -a")
- os.exec("xmake f --toolchain=clang -c --yes")
+ os.vexec("xmake clean -a")
+ os.vexec("xmake f --toolchain=clang -c --yes")
_build()
- os.exec("xmake clean -a")
- os.exec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes")
+ os.vexec("xmake clean -a")
+ os.vexec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes")
_build()
end
end