gitlab-ci/deqp: preserve full list of unexpected results

The log only shows the first 50, but preserve the full list for easier
browsing.

(Also move return of exit code to end which makes later patches in the
series easier)

Signed-off-by: Rob Clark <robdclark@chromium.org>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Rob Clark 2019-11-17 11:16:09 -08:00
parent 5fa397a0d9
commit 59ed90fc74
1 changed files with 5 additions and 3 deletions

View File

@ -73,7 +73,9 @@ if [ $DEQP_EXITCODE -ne 0 ]; then
cat $RESULTS/cts-runner-results.txt | \
grep -v ",Pass" | \
grep -v ",Skip" | \
grep -v ",ExpectedFail" | \
head -n 50
exit $DEQP_EXITCODE
grep -v ",ExpectedFail" > \
$RESULTS/cts-runner-unexpected-results.txt
head -n 50 $RESULTS/cts-runner-unexpected-results.txt
fi
exit $DEQP_EXITCODE