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.
This commit is contained in:
Henri Verbeet 2024-02-21 12:01:04 +01:00 committed by Alexandre Julliard
parent 02a3667822
commit edc8e38bd9
Notes: Alexandre Julliard 2024-02-21 23:34:03 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/663
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ cd build
export LD_LIBRARY_PATH=/usr/local/lib 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" && \ 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) ; then
make -j$(nproc) check || \ make -j$(nproc) AM_COLOR_TESTS=always check || \
touch ../tests_failed touch ../tests_failed
else else
touch ../build_failed touch ../build_failed

View File

@ -13,7 +13,7 @@ mkdir build
cd build cd build
if ../configure CFLAGS="-g -O2 -Wno-implicit-fallthrough -Werror" && \ if ../configure CFLAGS="-g -O2 -Wno-implicit-fallthrough -Werror" && \
make -j$(sysctl -n hw.ncpu) ; then 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 touch ../tests_failed
else else
touch ../build_failed touch ../build_failed