summaryrefslogtreecommitdiff
path: root/zephyr/zmake/zmake/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/zmake/zmake/__main__.py')
-rw-r--r--zephyr/zmake/zmake/__main__.py16
1 files changed, 5 insertions, 11 deletions
diff --git a/zephyr/zmake/zmake/__main__.py b/zephyr/zmake/zmake/__main__.py
index 14f47bc462..c39a645a81 100644
--- a/zephyr/zmake/zmake/__main__.py
+++ b/zephyr/zmake/zmake/__main__.py
@@ -222,24 +222,18 @@ def get_argparser():
test = sub.add_parser(
"test",
- help="Execute tests from a build directory",
+ help="Configure, build and run tests on specified projects",
)
test.add_argument(
- "-c",
- "--coverage",
+ "--no-rebuild",
action="store_true",
- dest="coverage",
- help="Run lcov after running test to generate coverage info file.",
- )
- test.add_argument(
- "build_dir",
- type=pathlib.Path,
- help="The build directory used during configuration",
+ help="Do not configure or build before running tests.",
)
+ add_common_configure_args(test)
testall = sub.add_parser(
"testall",
- help="Execute all known builds and tests",
+ help="Alias for test --all",
)
testall.add_argument(
"--clobber",