summaryrefslogtreecommitdiff
path: root/test/py/tests/test_help.py
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2025-06-30 14:21:07 +0200
committerMichal Simek <michal.simek@amd.com>2025-07-08 15:00:17 +0200
commit43341fc02198ef7535251dfa73c7cc828228d0ad (patch)
tree703cc5a9ba0f51ecc87daaa7ef4da558b1d362d0 /test/py/tests/test_help.py
parent229ec063537c85a2d095ddcf345cb7af52fccf57 (diff)
cmd: Introduce CMD_HELP
Add option to disable help command in size constrained systems to save some space. There is also no need to have ifdefs around CMDLINE because all commands depends on it. And also mark cmd_help dependency in test_help.py. Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/c17f825fb8a74e1d1912a3fd09a9a880c84a8bfd.1751286059.git.michal.simek@amd.com
Diffstat (limited to 'test/py/tests/test_help.py')
-rw-r--r--test/py/tests/test_help.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/tests/test_help.py b/test/py/tests/test_help.py
index 12cb36b7b98..afb57201ba3 100644
--- a/test/py/tests/test_help.py
+++ b/test/py/tests/test_help.py
@@ -4,6 +4,7 @@
import pytest
+@pytest.mark.buildconfigspec('cmd_help')
def test_help(ubman):
"""Test that the "help" command can be executed."""