aboutsummaryrefslogtreecommitdiff
path: root/test/py/tests/test_trace.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-02-23 17:30:49 -0500
committerTom Rini <trini@konsulko.com>2023-02-23 17:30:49 -0500
commit0b58258a33280a536c5b1e5e90dfdf0b5b5852cc (patch)
tree418dbaf5a7f88305974186a1297ff2e9ae4c5aaa /test/py/tests/test_trace.py
parent8c39999acb726ef083d3d5de12f20318ee0e5070 (diff)
parent5b4acb0ff79df642ef6b1e35fd4b193a4dc3c62b (diff)
Merge branch '2023-02-23-assorted-fixes'
- btrfs bugfix, silence a bunch of gcc-12.2 linker warnings finally, relax one of the trace test time requirements (so CI doesn't fail due to test being slightly slow, but still correct), and correct env on MMC and checking for where GPT can be
Diffstat (limited to 'test/py/tests/test_trace.py')
-rw-r--r--test/py/tests/test_trace.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/py/tests/test_trace.py b/test/py/tests/test_trace.py
index 14584d11a2..ac3e95925e 100644
--- a/test/py/tests/test_trace.py
+++ b/test/py/tests/test_trace.py
@@ -299,6 +299,7 @@ def test_trace(u_boot_console):
fg_time = check_flamegraph(cons, fname, proftool, map_fname, trace_fg)
- # Check that bootstage and flamegraph agree to within 10%
+ # Check that bootstage and flamegraph agree to within 30%
+ # This allows for CI being slow to run
diff = abs(fg_time - dm_f_time)
- assert diff / dm_f_time < 0.1
+ assert diff / dm_f_time < 0.3