
17 Aug
2025
17 Aug
'25
9:01 p.m.
From: Simon Glass <sjg@chromium.org> When LTO is used it seems to miss some line-number information, so the event_dump.py tool does not fully work, thus causing test_event_dump to fail. Disable LTO to prevent this problem. It speeds up the build in any case. Signed-off-by: Simon Glass <sjg@chromium.org> --- test/run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/run b/test/run index fc1d27004ac..6352562e73e 100755 --- a/test/run +++ b/test/run @@ -42,6 +42,9 @@ fi failures=0 +# Disable LTO as it messed up event_dump.py (fails to get some line numbers) +export NO_LTO=1 + if [ -z "$tools_only" ]; then # Run all tests that the standard sandbox build can support echo "${prompt}" -- 2.43.0