.gitlab.ci: Enable debug for libsteat and for the DRM backend

As the drm-smoke test randomly reports having the connector disabled,
and with it libseat reports setMaster errors, this enables DRM backend
debug messages for the kernel, and for libseat in an attempt to
track down the issue, whenever it might happen again.

These are pretty harmless, in terms of data being generated as we only
have a single DRM test using VKMS, and the libseat debug message aren't
that verbose, so we're safe keeping them for the time being.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
dev
Marius Vlad 3 years ago
parent 78ba71191a
commit 288214323c
  1. 1
      .gitlab-ci.yml
  2. 4
      .gitlab-ci/virtme-scripts/run-weston-tests.sh

@ -198,6 +198,7 @@ aarch64-debian-container_prep:
paths:
- $BUILDDIR/*.png
- $BUILDDIR/meson-logs
- $BUILDDIR/dmesg.log
- $BUILDDIR/weston-virtme
- $PREFIX
reports:

@ -20,10 +20,14 @@ export PATH=$HOME/.local/bin:$PATH
export PATH=/usr/local/bin:$PATH
export ASAN_OPTIONS=detect_leaks=0,atexit=1
export SEATD_LOGLEVEL=debug
# run the tests and save the exit status
# we give ourselves a very generous timeout multiplier due to ASan overhead
echo 0x1f > /sys/module/drm/parameters/debug
seatd-launch -- meson test --no-rebuild --timeout-multiplier 4
dmesg &> dmesg.log
echo 0x00 > /sys/module/drm/parameters/debug
TEST_RES=$?
# create a file to keep the result of this script:

Loading…
Cancel
Save