1
0
Fork 0

drm_hwcomposer: CI: Simplify VTS failure check

In preparation for introducing $FDO_CI_BASH_HELPERS, which adds an ERR
trap that is triggered even in subshells, simplify the VTS failure check
to avoid triggering the trap when no failures are found.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
This commit is contained in:
Deborah Brouwer 2025-06-27 15:00:16 -07:00
parent 0cb8a07844
commit 72ec38a6cb

View file

@ -27,7 +27,7 @@ adb shell "(/data/local/tmp/VtsHalGraphicsComposer3_TargetTest \
adb pull /data/local/tmp/vts_results.txt "${RESULTS_DIR}"
[ "$(grep "FAILED" "${RESULTS_DIR}/vts_results.txt")" = "" ]
! grep "FAILED" "${RESULTS_DIR}/vts_results.txt"
export EXIT_CODE=$?
section_end run_android_vts