if [ $DEQP_EXITCODE -ne 0 ]; then
# preserve caselist files in case of failures:
cp /tmp/deqp_runner.*.txt $RESULTS/
- echo "Some unexpected results found (see cts-runner-results.txt in artifacts for full results):"
cat $RESULTS/cts-runner-results.txt | \
grep -v ",Pass" | \
grep -v ",Skip" | \
grep -v ",ExpectedFail" > \
$RESULTS/cts-runner-unexpected-results.txt
- head -n 50 $RESULTS/cts-runner-unexpected-results.txt
if [ -z "$DEQP_NO_SAVE_RESULTS" ]; then
+ echo "Some unexpected results found (see cts-runner-results.txt in artifacts for full results):"
+ head -n 50 $RESULTS/cts-runner-unexpected-results.txt
+
# Save the logs for up to the first 50 unexpected results:
head -n 50 $RESULTS/cts-runner-unexpected-results.txt | quiet extract_xml_results /tmp/*.qpa
+ else
+ echo "Unexpected results found:"
+ cat $RESULTS/cts-runner-unexpected-results.txt
fi
count=`cat $RESULTS/cts-runner-unexpected-results.txt | wc -l`