From a2d3c06fc509f749afbaedb90c1cbec7920e8207 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 6 Feb 2024 00:37:53 +0800 Subject: improve test.lua --- tests/projects/c/cosmocc/test.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/projects/c/cosmocc/test.lua b/tests/projects/c/cosmocc/test.lua index 53e3c9e74..2dce5e048 100644 --- a/tests/projects/c/cosmocc/test.lua +++ b/tests/projects/c/cosmocc/test.lua @@ -1,5 +1,8 @@ function main(t) - if is_host("windows", "macosx", "linux") then + if is_subhost("msys", "cygwin") then + os.exec("xmake f -p windows -vD") + os.exec("xmake -vD") + elseif is_host("macosx", "linux") then os.exec("xmake -vD") end end -- cgit v1.3.1