u-boot-brain/test/py/tests
Stephen Warren 24862c640e test/py: skip tests that require large CONFIG_SYS_MAXARGS
test_hush_if_test.py executes commands that require large values of
CONFIG_SYS_MAXARGS. Detect cases where the configured value is too low
and skip those tests.

Ideally, this would be implemented inside console.run_command(). However,
the command passed to that function is already a completely formed string,
and determining its argument count usage would require splitting commands
at ;, handling quoting to deal with arguments containing spaces, etc. Even
passing the command as a list wouldn't solve all these issues, since we'd
still need to split commands on ; and deal with cases like "if test ..."
which consumes 0 of the argument count.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Simon Glass <sjg@chromium.org>
2016-02-26 08:42:12 -05:00
..
test_000_version.py test/py: use " for docstrings 2016-01-28 21:01:24 -07:00
test_dfu.py test/py: dfu: allow boardenv to specify test sizes 2016-01-28 21:01:24 -07:00
test_env.py test/py: fix a couple typos in comments 2016-01-28 21:01:24 -07:00
test_help.py test/py: use " for docstrings 2016-01-28 21:01:24 -07:00
test_hush_if_test.py test/py: skip tests that require large CONFIG_SYS_MAXARGS 2016-02-26 08:42:12 -05:00
test_md.py test/py: use " for docstrings 2016-01-28 21:01:24 -07:00
test_net.py test/py: Quote consistency 2016-01-28 21:01:24 -07:00
test_sandbox_exit.py test/py: use " for docstrings 2016-01-28 21:01:24 -07:00
test_shell_basics.py test/py: Quote consistency 2016-01-28 21:01:24 -07:00
test_sleep.py test/py: support running sandbox under gdbserver 2016-02-08 10:22:39 -05:00
test_ums.py test/py: Provide custom IDs when parametrizing tests 2016-01-28 21:01:24 -07:00
test_unknown_cmd.py test/py: use " for docstrings 2016-01-28 21:01:24 -07:00
test_ut.py test/py: run all "ut" subtests 2016-02-15 20:58:26 +00:00