From edc8e38bd9755361e9394703f0c3fd53661d2e83 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 21 Feb 2024 12:01:04 +0100 Subject: [PATCH] ci: Enable colour output for the tests. Autodetection doesn't work, but gitlab does in fact support colour output. Perhaps more importantly, the "Scroll to next failure" feature essentially scans the output for red text. --- gitlab/build-linux | 2 +- gitlab/build-mac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab/build-linux b/gitlab/build-linux index a68a36b5..a060eadc 100755 --- a/gitlab/build-linux +++ b/gitlab/build-linux @@ -14,7 +14,7 @@ cd build export LD_LIBRARY_PATH=/usr/local/lib if ../configure --enable-demos --with-spirv-tools DXCOMPILER_LIBS="-L/usr/local/lib" CFLAGS="-g -O2 -Werror" CPPFLAGS="-DVKD3D_SHADER_UNSUPPORTED_DXIL" && \ make -j$(nproc) ; then - make -j$(nproc) check || \ + make -j$(nproc) AM_COLOR_TESTS=always check || \ touch ../tests_failed else touch ../build_failed diff --git a/gitlab/build-mac b/gitlab/build-mac index 3225c8a0..a3119686 100755 --- a/gitlab/build-mac +++ b/gitlab/build-mac @@ -13,7 +13,7 @@ mkdir build cd build if ../configure CFLAGS="-g -O2 -Wno-implicit-fallthrough -Werror" && \ make -j$(sysctl -n hw.ncpu) ; then - make -j$(sysctl -n hw.ncpu) check || \ + make -j$(sysctl -n hw.ncpu) AM_COLOR_TESTS=always check || \ touch ../tests_failed else touch ../build_failed