]> git.sur5r.net Git - u-boot/commit
test/py/tests/test_sleep.py: test time approximately
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 13 Oct 2017 20:28:31 +0000 (22:28 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2017 17:45:37 +0000 (13:45 -0400)
commit6c7c3dcc59d4ad49e4b1e773b98f9c110a13f306
tree41dd5a322c09f90869af84ec17743f15d47854f9
parent59ab72d7bc5672eaf74820cde156be313217c087
test/py/tests/test_sleep.py: test time approximately

On qemu errors like
assert 2.999650001525879 >= 3
occur.

According to the comment in the code the test is meant to be
approximate. So we should accept some milliseconds less.

Cc: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
test/py/tests/test_sleep.py