[PATCH 3/7] dtoc: Fix fdt test coverage

Simon Glass sjg at chromium.org
Sun Jul 31 04:57:07 CEST 2022


Fix a bug that the --processes option was ignored, thus resulting in no
test coverage information being generated.

Signed-off-by: Simon Glass <sjg at chromium.org>
Fixes: 42ae363ddd9 ("dtoc: Update fdt tests to use test_util")
---

 tools/dtoc/test_fdt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/dtoc/test_fdt.py b/tools/dtoc/test_fdt.py
index b48819831d6..afa0bb58850 100755
--- a/tools/dtoc/test_fdt.py
+++ b/tools/dtoc/test_fdt.py
@@ -793,7 +793,7 @@ def run_tests(args, processes):
     """
     test_name = args[0] if args else None
     result = test_util.run_test_suites(
-        'test_fdt', False, False, False, None, test_name, None,
+        'test_fdt', False, False, False, processes, test_name, None,
         [TestFdt, TestNode, TestProp, TestFdtUtil])
 
     return (0 if result.wasSuccessful() else 1)
-- 
2.37.1.455.g008518b4e5-goog



More information about the U-Boot mailing list