summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeha555 <[email protected]>2026-06-05 23:08:41 +0800
committerMeha555 <[email protected]>2026-06-05 23:08:41 +0800
commit88c1ce87032df1c1f215cadaf6fff8a7958b06b8 (patch)
tree18971b50facd07948e673bc4bc0fb9ab5c76a9aa
parent70c73fe03cde67fd85e082cbdd2be3a406181b1b (diff)
Enable `xmake show --format=json`
Using os.iorunv instead of os.execv
-rw-r--r--tests/plugins/show/test.lua2
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