buildman: Update tests for newer filelock module
PATCH 1/1 buildman: Update tests for newer filelock module
Recent versions of this module call time.perf_counter() so add a patch for this also.
Signed-off-by Simon Glass <[email protected]>
---
tools/buildman/test.py | 1 + 1 file changed, 1 insertion(+)
tools/buildman/test.py +1 -0
@@ -836,6 +836,7 @@ class TestBuild(unittest.TestCase): tmpdir = self.base_dir with (patch('time.time', side_effect=self.get_time), + patch('time.perf_counter', 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)):
Signature · 1 line
2.43.0
Quoted 4 lines · Simon Glass
Recent versions of this module call
time.perf_counter()so add a patch for this also.Signed-off-by Simon Glass <[email protected]>
Reported-by Tom Rini <[email protected]>
Signature · 1 line
Tom
Quoted 4 lines · Simon Glass
Recent versions of this module call
time.perf_counter()so add a patch for this also.
Applied to u-boot/master, thanks!
Signature · 1 line
Tom