summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-07 12:52:37 +0800
committerruki <[email protected]>2023-10-07 12:52:37 +0800
commit943e49ac18086207b4371d668d99fd8e8995042c (patch)
tree64868f0fb8b0cf2186457d7f74a20979d574be8c /tests
parenta7f4569b042b3d909a37f37b192d3c0961c48621 (diff)
format test output
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/test/xmake.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/actions/test/xmake.lua b/tests/actions/test/xmake.lua
index 0ca6369a0..a60d964a2 100644
--- a/tests/actions/test/xmake.lua
+++ b/tests/actions/test/xmake.lua
@@ -6,9 +6,9 @@ for _, file in ipairs(os.files("src/test_*.cpp")) do
set_kind("binary")
set_default(false)
add_files("src/" .. name .. ".cpp")
- add_tests(name)
- add_tests(name .. "_args", {runargs = {"foo", "bar"}})
- add_tests(name .. "_pass_output", {runargs = "foo", pass_outputs = "hello foo"})
- add_tests(name .. "_fail_output", {fail_outputs = {"hello .*", "hello xmake"}})
+ add_tests("default")
+ add_tests("args", {runargs = {"foo", "bar"}})
+ add_tests("pass_output", {runargs = "foo", pass_outputs = "hello foo"})
+ add_tests("fail_output", {fail_outputs = {"hello .*", "hello xmake"}})
end