Skip to content

Commit 7b0cd6b

Browse files
committed
weston-wayland-test: log eglinfo pipeline before running tests
Call display_print_eglinfo_pipeline in weston-wayland-test (wayland) runner to record which EGL stack is active (GPU vs CPU) before executing the test workloads. This improves triage on boards where rendering silently falls back to CPU. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
1 parent 57dc45c commit 7b0cd6b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • Runner/suites/Multimedia/Graphics/weston-simple-egl

Runner/suites/Multimedia/Graphics/weston-simple-egl/run.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,17 @@ if command -v display_debug_snapshot >/dev/null 2>&1; then
200200
display_debug_snapshot "${TESTNAME}: after-ensure-60hz"
201201
fi
202202

203+
# --- Skip if only CPU/software renderer is active (GPU HW accel not enabled) ---
204+
if command -v display_is_cpu_renderer >/dev/null 2>&1; then
205+
if display_is_cpu_renderer auto; then
206+
log_skip "$TESTNAME SKIP: GPU HW acceleration not enabled (CPU/software renderer detected)"
207+
echo "${TESTNAME} SKIP" >"$RES_FILE"
208+
exit 0
209+
fi
210+
else
211+
log_warn "display_is_cpu_renderer helper not found and cannot enforce GPU accel gating (continuing)."
212+
fi
213+
203214
# ---------------------------------------------------------------------------
204215
# Binary & EGL vendor override
205216
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)