diff options
| author | ruki <[email protected]> | 2023-10-07 00:45:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-07 00:45:08 +0800 |
| commit | e6373510a1fc487dd6652a5bc1cd74a966a8749c (patch) | |
| tree | dcbd83f3cc32da90c39b1836a07548897c0da85e /tests/actions/test/xmake.lua | |
| parent | 621d6df885bc9ee832221f968ffcb07399d791fa (diff) | |
get tests
Diffstat (limited to 'tests/actions/test/xmake.lua')
| -rw-r--r-- | tests/actions/test/xmake.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/actions/test/xmake.lua b/tests/actions/test/xmake.lua index b9465566f..f02f50c0c 100644 --- a/tests/actions/test/xmake.lua +++ b/tests/actions/test/xmake.lua @@ -4,9 +4,10 @@ for _, file in ipairs(os.files("src/test_*.cpp")) do local name = path.basename(file) target(name) set_kind("binary") + set_default(false) add_files("src/" .. name .. ".cpp") add_tests(name) - add_tests(name .. "_arg", "foo") + add_tests(name .. "_arg", "foo", "bar") add_tests(name .. "_pass_output", "foo", {pass_output = "hello foo"}) add_tests(name .. "_fail_output", {fail_output = {"hello .*", "hello xmake"}}) end |
