diff options
author | Simon Glass <sjg@chromium.org> | 2023-03-08 10:52:54 -0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-03-08 13:15:14 -0800 |
commit | 27409e35d5fa56f1b51b6e0704081133e3881058 (patch) | |
tree | c975df040d9a7c36fb76ab51f93aaa56c0cd6d0e /tools/patman/func_test.py | |
parent | c524cd61397f11f106ea1e43cb31f8ce2bae2ebb (diff) |
patman: Run get_maintainer.pl in parallel
This script can take ages on some series. Try to limit the time by
using threads. If a few stubborn patches remain, show progress so the
user has some idea what is going on.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r-- | tools/patman/func_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index 8c2dfbe4528..42ac4ed77b7 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -240,6 +240,8 @@ class TestFunctional(unittest.TestCase): self.assertEqual('Change log missing for v3', next(lines)) self.assertEqual('Change log for unknown version v4', next(lines)) self.assertEqual("Alias 'pci' not found", next(lines)) + while next(lines) != 'Cc processing complete': + pass self.assertIn('Dry run', next(lines)) self.assertEqual('', next(lines)) self.assertIn('Send a total of %d patches' % count, next(lines)) |