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: 42ae363ddd ("dtoc: Update fdt tests to use test_util")
This commit is contained in:
Simon Glass
2022-07-30 20:57:07 -06:00
parent b26dd9648c
commit ad744222f5

View File

@@ -793,7 +793,7 @@ def run_tests(args, processes):
""" """
test_name = args[0] if args else None test_name = args[0] if args else None
result = test_util.run_test_suites( 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]) [TestFdt, TestNode, TestProp, TestFdtUtil])
return (0 if result.wasSuccessful() else 1) return (0 if result.wasSuccessful() else 1)