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:
parent
0cb8a07844
commit
72ec38a6cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue