summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/test/main.lua2
-rw-r--r--xmake/actions/test/xmake.lua3
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_*",