Module: Mesa
Branch: master
Commit: 16fb50440234ee57e2d6df9becaec2a7a6a5f305
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=16fb50440234ee57e2d6df9becaec2a7a6a5f305

Author: Eric Anholt <[email protected]>
Date:   Mon Dec 21 11:25:10 2020 -0800

ci/deqp: Move the load reporting to a quiet block.

No need for debug printing of how we computed it any more, brings the deqp
failures more into highlight in the job log.

Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8206>

---

 .gitlab-ci/deqp-runner.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index 6d04fdbb90a..4a3585f9073 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -204,6 +204,11 @@ check_vk_device_name() {
     fi
 }
 
+report_load() {
+    echo "System load: $(cut -d' ' -f1-3 < /proc/loadavg)"
+    echo "# of CPU cores: $(cat /proc/cpuinfo | grep processor | wc -l)"
+}
+
 # wrapper to supress +x to avoid spamming the log
 quiet() {
     set +x
@@ -239,8 +244,7 @@ FAILURES_CSV=$RESULTS/failures.csv
 run_cts $DEQP /tmp/case-list.txt $RESULTS_CSV
 DEQP_EXITCODE=$?
 
-echo "System load: $(cut -d' ' -f1-3 < /proc/loadavg)"
-echo "# of CPU cores: $(cat /proc/cpuinfo | grep processor | wc -l)"
+quiet report_load
 
 # Remove all but the first 50 individual XML files uploaded as artifacts, to
 # save fd.o space when you break everything.

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to