[gjs/test-ci: 1/5] build: Only print full test logs on the build_recommended job



commit 85232d6ff240a6310e569f02fcd8e910e2a07ea5
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Apr 26 16:56:02 2020 -0700

    build: Only print full test logs on the build_recommended job
    
    Most of the time we don't need these logs. Having them become too long
    seems to crash the CI job since a few days ago, unfortunately. So enable
    them only on one job, and make sure it is not the most verbose job.

 .gitlab-ci.yml  | 1 +
 test/test-ci.sh | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f71dbeb..89df2086 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,6 +51,7 @@ build_recommended:
   image: registry.gitlab.gnome.org/gnome/gjs:job-559848_fedora.mozjs68-debug  # pinned on purpose
   variables:
     TASK_ID: "fedora-x86_64-gcc-debug-default-check"
+    TEST_OPTS: --verbose --no-stdsplit --print-errorlogs
   except:
     - schedules
 
diff --git a/test/test-ci.sh b/test/test-ci.sh
index 9303b2ed..ef36a609 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -112,8 +112,7 @@ elif test "$1" = "BUILD"; then
     ninja -C _build
 
     if test "$TEST" != "skip"; then
-        xvfb-run -a meson test -C _build $TEST_OPTS \
-            --verbose --no-stdsplit --print-errorlogs
+        xvfb-run -a meson test -C _build $TEST_OPTS
     fi
 
 elif test "$1" = "SH_CHECKS"; then


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]