From: Simon Glass <sjg@chromium.org>
Date: Sun, 31 Jul 2022 02:57:07 +0000 (-0600)
Subject: dtoc: Fix fdt test coverage
X-Git-Tag: v2025.01-rc5-pxa1908~1315^2~4
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=ad744222f59e765ef9d6ee7efa2ee670a4ebd06d;p=u-boot.git

dtoc: Fix fdt test coverage

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

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

diff --git a/tools/dtoc/test_fdt.py b/tools/dtoc/test_fdt.py
index b48819831d..afa0bb5885 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)