summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/projects/c/cosmocc/test.lua5
1 files changed, 4 insertions, 1 deletions
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