diff options
| author | ruki <[email protected]> | 2023-10-07 11:44:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-07 11:44:05 +0800 |
| commit | a7f4569b042b3d909a37f37b192d3c0961c48621 (patch) | |
| tree | e916f36592690cbfd52f7b7ccc273bb514d339bc /tests | |
| parent | ebb301cf17c2aa25b1f698ce2e5bd2eb753a9bc5 (diff) | |
match test output
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/actions/test/xmake.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/actions/test/xmake.lua b/tests/actions/test/xmake.lua index fac51a018..0ca6369a0 100644 --- a/tests/actions/test/xmake.lua +++ b/tests/actions/test/xmake.lua @@ -7,8 +7,8 @@ for _, file in ipairs(os.files("src/test_*.cpp")) do set_default(false) add_files("src/" .. name .. ".cpp") add_tests(name) - add_tests(name .. "_args", {arguments = {"foo", "bar"}}) - add_tests(name .. "_pass_output", {arguments = "foo", pass_output = "hello foo"}) - add_tests(name .. "_fail_output", {fail_output = {"hello .*", "hello xmake"}}) + 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"}}) end |
