]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dtoc: Fix fdt test coverage
authorSimon Glass <sjg@chromium.org>
Sun, 31 Jul 2022 02:57:07 +0000 (20:57 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Aug 2022 17:55:41 +0000 (11:55 -0600)
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")
tools/dtoc/test_fdt.py

index b48819831d69a3ace530afb83b622c1dbf381706..afa0bb58850af03ef8714a16a54c45ec53266c15 100755 (executable)
@@ -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)