summaryrefslogtreecommitdiff
path: root/tools/patman/patman.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-09 15:08:40 -0600
committerSimon Glass <sjg@chromium.org>2020-04-21 06:33:47 -0600
commit37b224f9f136f83f22de9221d48d9a0b1b2c3693 (patch)
tree018ff9d008f5dcd1149d98994c25cbad3f8a8a79 /tools/patman/patman.py
parenta84eb1617997d71bdec1f4152536bd8ecba82e87 (diff)
downloadu-boot-37b224f9f136f83f22de9221d48d9a0b1b2c3693.tar.gz
patman: Support erasing a previously unfinished text line
When printing progress it is useful to print a message and leave the cursor at the end of the line until the operation is finished. When it is finished, the line needs to be erased so a new line can start in its place. Add a function to handle clearing a line previously written by terminal.Print() Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/patman.py')
-rwxr-xr-xtools/patman/patman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py
index cf53e532dd..7f4ac9aef4 100755
--- a/tools/patman/patman.py
+++ b/tools/patman/patman.py
@@ -93,7 +93,7 @@ elif options.test:
suite = unittest.TestLoader().loadTestsFromTestCase(module)
suite.run(result)
- for module in ['gitutil', 'settings']:
+ for module in ['gitutil', 'settings', 'terminal']:
suite = doctest.DocTestSuite(module)
suite.run(result)