summaryrefslogtreecommitdiff
path: root/tools/binman/ftest.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-04-29 07:22:06 -0600
committerSimon Glass <sjg@chromium.org>2025-05-27 10:07:41 +0100
commita61635d2af81d00b02155eb5decc03eb92f94413 (patch)
tree8f1ff2e6a3bfcc93732153c1b660bb178814ed78 /tools/binman/ftest.py
parent9dee86cf533271deddd7f8ab077d98e4a1d3cb78 (diff)
tools: Plumb in capture control
Add control of capturing output into u_boot_pylib and the tools which use it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r--tools/binman/ftest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
index d3e6e675104..ffef213c0ff 100644
--- a/tools/binman/ftest.py
+++ b/tools/binman/ftest.py
@@ -274,7 +274,7 @@ class TestFunctional(unittest.TestCase):
@classmethod
def setup_test_args(cls, preserve_indir=False, preserve_outdirs=False,
- toolpath=None, verbosity=None):
+ toolpath=None, verbosity=None, no_capture=False):
"""Accept arguments controlling test execution
Args:
@@ -289,6 +289,7 @@ class TestFunctional(unittest.TestCase):
cls.preserve_outdirs = preserve_outdirs
cls.toolpath = toolpath
cls.verbosity = verbosity
+ cls.no_capture = no_capture
def _CheckBintool(self, bintool):
if not bintool.is_present():