diff options
| author | Tom Rini <[email protected]> | 2024-08-26 18:52:18 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-26 18:52:18 -0600 |
| commit | 9735cfaf904551759597067d76e2ae2ec21d582a (patch) | |
| tree | 5578133191f3a0557deb2360e14eb367fab804b9 /tools | |
| parent | 02d587a447ccae12618abbfb2b8ddd88ac3c7648 (diff) | |
| parent | 695b4645325ef40c792a6e6a3849d134fcf80ed0 (diff) | |
Merge patch series "Tidy up console recording in tests"
Simon Glass <[email protected]> says:
This series started as a small fix for checking for an empty line,
but in the process several other problems were found and fixed:
- fix tests which use console recording but don't set the flag
- drop unnecessary resetting of the console in tests
- drop unnecessary blank line before MMC output
- update the docs a little
- fix buildman test failure on newer Pythons
- a few other minor things
This series also renames the confusing flag names, so that they are
easier to remember - just a UTF_ (unit-test flags) prefix.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/buildman/test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/buildman/test.py b/tools/buildman/test.py index bfad3093030..e9d2c7e41b0 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -779,6 +779,7 @@ class TestBuild(unittest.TestCase): tmpdir = self.base_dir with (patch('time.time', side_effect=self.get_time), + patch('time.monotonic', side_effect=self.get_time), patch('time.sleep', side_effect=self.inc_time), patch('os.kill', side_effect=self.kill)): # Grab the process. Since there is no other profcess, this should |
