gitlab-ci/deqp: preserve full list of unexpected results
authorRob Clark <robdclark@chromium.org>
Sun, 17 Nov 2019 19:16:09 +0000 (11:16 -0800)
committerRob Clark <robdclark@chromium.org>
Fri, 22 Nov 2019 21:48:29 +0000 (13:48 -0800)
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>
.gitlab-ci/deqp-runner.sh

index 2e93a643a36ffc6fabba01aff21f370bc75fcac8..9a18c9fc6cec3d91f981096fbe030443303f3288 100755 (executable)
@@ -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