test/py: Add a way to pass flags to sandbox
authorSimon Glass <sjg@chromium.org>
Fri, 16 Nov 2018 01:44:00 +0000 (18:44 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 26 Nov 2018 13:25:35 +0000 (08:25 -0500)
commit20d4440189b924eaf9d77e9f2470cd39abe34a4a
tree3a4c9f5fb08d24cd38ee2acef5e0fed98d832b28
parent9946d557be409de5d598232f6e29c17809b9ac9d
test/py: Add a way to pass flags to sandbox

It is sometimes useful to restart sandbox with some particular flags to
test certain functionality. Add a new method to ConsoleSandbox to handle
this, without changing the existing APIs.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
test/py/u_boot_console_sandbox.py