diff options
| author | ruki <[email protected]> | 2024-02-06 00:37:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-06 00:37:53 +0800 |
| commit | a2d3c06fc509f749afbaedb90c1cbec7920e8207 (patch) | |
| tree | 616279c22a7904e705179c10ccbdf9b8a156ece0 | |
| parent | 9c41c4b806e46bd460bec410870930c785b3aa54 (diff) | |
improve test.lua
| -rw-r--r-- | tests/projects/c/cosmocc/test.lua | 5 |
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 |
