]> git.dujemihanovic.xyz Git - u-boot.git/commit
buildman: Make test_process_limit handle time.monotonic()
authorSimon Glass <sjg@chromium.org>
Thu, 22 Aug 2024 13:57:46 +0000 (07:57 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 27 Aug 2024 00:51:48 +0000 (18:51 -0600)
commitab84ffccd6c2a28a04feed8f17206a68e3adb928
tree75fd3a07aef378464fd1bd73e1a5e5db63e9576d
parente93d343cc7d2886b1148d885aa137d46bbce0570
buildman: Make test_process_limit handle time.monotonic()

Newer versions of filelock use time.monotonic() instead of time.time().
Update the test the handle this.

It would be better if filelock had support for writing unit tests which
use locking.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/test.py