mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 11:10:10 +01:00
ci/vkd3d: be more specific for what to grep
Sometimes, some other output gets added at the begining Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30413>
This commit is contained in:
parent
1b8533a7f4
commit
642409bc19
1 changed files with 6 additions and 1 deletions
|
|
@ -57,7 +57,12 @@ if ! /vkd3d-proton-tests/x64/bin/d3d12 &> "$RESULTS/vkd3d-proton-log.txt"; then
|
|||
|
||||
# Collect all the failures
|
||||
RESULTSFILE="$RESULTS/$GPU_VERSION.txt"
|
||||
if ! grep "Test failed" "$RESULTS"/vkd3d-proton-log.txt > "$RESULTSFILE"; then
|
||||
# Sometimes, some lines are randomly (?) prefixed with one of these:
|
||||
# 058f:info:vkd3d_pipeline_library_disk_cache_initial_setup:
|
||||
# 058f:info:vkd3d_pipeline_library_disk_cache_merge:
|
||||
# 058f:info:vkd3d_pipeline_library_disk_thread_main:
|
||||
# As a result, we have to specifically start the grep at the test name.
|
||||
if ! grep -oE "test_\w+:.*Test failed.*$" "$RESULTS"/vkd3d-proton-log.txt > "$RESULTSFILE"; then
|
||||
error "Failed to get the list of failing tests, see ${ARTIFACTS_BASE_URL}/results/vkd3d-proton-log.txt"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue