diff options
| author | ruki <[email protected]> | 2017-06-02 20:40:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-06-02 20:40:04 +0800 |
| commit | ecaaba6b5881cfa62736f89ebd1a03f8027f3e53 (patch) | |
| tree | 57f0a86f06b3c457f5331479e9a29a084da0ac11 | |
| parent | e75933b3a3188b9b1a27c5934d6c3f62cc57b040 (diff) | |
improve xxx_script test
| -rw-r--r-- | tests/apis/xxx_script/xmake.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/apis/xxx_script/xmake.lua b/tests/apis/xxx_script/xmake.lua index 84f41c225..5b529622a 100644 --- a/tests/apis/xxx_script/xmake.lua +++ b/tests/apis/xxx_script/xmake.lua @@ -1,8 +1,8 @@ target("test") before_build("iphoneos|arm64", function (target) - assert(vformat("$(plat)") == "iphoneos") - assert(vformat("$(arch)") == "arm64") + assert(val("plat") == "iphoneos") + assert(val("arch") == "arm64") end) before_build("macosx", function (target) @@ -22,5 +22,5 @@ target("test") end) after_build("linux|*", function (target) - assert(vformat("$(plat)") == "linux") + assert(val("plat") == "linux") end) |
