summaryrefslogtreecommitdiff
path: root/include/test/suites.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-08-27 22:04:10 +0200
committerTom Rini <trini@konsulko.com>2018-08-31 11:59:44 -0400
commit4b0a2d3aabeba4df186113ef0c5edc25cec6001b (patch)
tree02cb46aab47775bae7cc2d254e29ba00b2f30ad4 /include/test/suites.h
parenta81f663ff77f2e9c5938e9f1514807b8f96c93cd (diff)
test: fix typo in cmd_ut_category() description
argc = 1: all tests are run argc > 1: only argv[1] is run So we need argc >= 1. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/test/suites.h')
-rw-r--r--include/test/suites.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/test/suites.h b/include/test/suites.h
index b5019a7cd2..071ab4063e 100644
--- a/include/test/suites.h
+++ b/include/test/suites.h
@@ -15,7 +15,7 @@ struct unit_test;
* @name: Category name
* @tests: List of tests to run
* @n_ents: Number of tests in @tests
- * @argc: Argument count provided. Must be <= 1. If this is 1 then all
+ * @argc: Argument count provided. Must be >= 1. If this is 1 then all
* tests are run, otherwise only the one named @argv[1] is run.
* @argv: Arguments: argv[1] is the test to run (if @argc >= 2)
* @return 0 if OK, CMD_RET_FAILURE on failure