diff options
| author | ruki <[email protected]> | 2020-04-11 00:34:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-10 21:26:32 +0800 |
| commit | 89802c7311cd0cc699cc7d15e3f2a55150cc4f04 (patch) | |
| tree | f202924fa8b7e77a66422407ab8f03f9b14ef978 /tests/test_utils/test_build.lua | |
| parent | c09fd5a74f8297e04bca53035b6543081a7fa905 (diff) | |
update tests
Diffstat (limited to 'tests/test_utils/test_build.lua')
| -rw-r--r-- | tests/test_utils/test_build.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_utils/test_build.lua b/tests/test_utils/test_build.lua index 4625a5943..8bb35132c 100644 --- a/tests/test_utils/test_build.lua +++ b/tests/test_utils/test_build.lua @@ -12,7 +12,7 @@ function test_build:build(argv) os.exec("xmake f -c") os.exec("xmake") os.exec("xmake p -D") - if os.host() ~= "windows" then + if not is_host("windows") then os.exec("xmake install -o /tmp -a -D") os.exec("xmake uninstall --installdir=/tmp -D") end @@ -31,7 +31,7 @@ function test_build:build(argv) -- test iphoneos? if argv and argv.iphoneos then - if os.host() == "macosx" then + if is_host("macosx") then os.exec("xmake m package -p iphoneos") end end |
