diff options
| author | ruki <[email protected]> | 2023-10-07 14:38:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-07 14:38:25 +0800 |
| commit | 8433602d73a41375efe45283dc9e209d373c966c (patch) | |
| tree | 94a350306973018d1497ea99439257f272af634f | |
| parent | e230939c931a7b8b96da0c21f6c2d11c7fde2226 (diff) | |
remove all option
| -rw-r--r-- | xmake/actions/test/main.lua | 2 | ||||
| -rw-r--r-- | xmake/actions/test/xmake.lua | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua index d9dcf1936..36c818a76 100644 --- a/xmake/actions/test/main.lua +++ b/xmake/actions/test/main.lua @@ -320,7 +320,7 @@ function main() end local group = testinfo.group - if (not group_pattern) or option.get("all") or (group_pattern and group and group:match(group_pattern)) then + if (not group_pattern) or (group_pattern and group and group:match(group_pattern)) then tests[testname] = testinfo end end diff --git a/xmake/actions/test/xmake.lua b/xmake/actions/test/xmake.lua index 74cede2ff..c892d1840 100644 --- a/xmake/actions/test/xmake.lua +++ b/xmake/actions/test/xmake.lua @@ -25,8 +25,7 @@ task("test") usage = "xmake test [options] [target] [arguments]", description = "Run the project tests.", options = { - {'a', "all", "k", nil , "Run all targets." }, - {'g', "group", "kv", nil , "Run all targets of the given group. It support path pattern matching.", + {'g', "group", "kv", nil , "Run all tests of the given group. It support path pattern matching.", "e.g.", " xmake test -g test", " xmake test -g test_*", |
