diff options
| author | Meha555 <[email protected]> | 2026-06-05 23:08:41 +0800 |
|---|---|---|
| committer | Meha555 <[email protected]> | 2026-06-05 23:08:41 +0800 |
| commit | 88c1ce87032df1c1f215cadaf6fff8a7958b06b8 (patch) | |
| tree | 18971b50facd07948e673bc4bc0fb9ab5c76a9aa | |
| parent | 70c73fe03cde67fd85e082cbdd2be3a406181b1b (diff) | |
Enable `xmake show --format=json`
Using os.iorunv instead of os.execv
| -rw-r--r-- | tests/plugins/show/test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/show/test.lua b/tests/plugins/show/test.lua index d7a59727a..d7cb35953 100644 --- a/tests/plugins/show/test.lua +++ b/tests/plugins/show/test.lua @@ -17,7 +17,7 @@ function test_list_targets_plain_format(t) end function test_list_targets_unsupported_format(t) - local ok = try { function () os.execv("xmake", {"show", "-l", "targets", "--format=dot"}) end } + local ok = try { function () os.iorunv("xmake", {"show", "-l", "targets", "--format=dot"}) end } t:require(not ok) end |
