Skip to content
Snippets Groups Projects

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

Merged Marius Vlad requested to merge mvlad/weston:wip/mvlad/seat-debug-and-dmesg into main
All threads resolved!
2 files
+ 5
0
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 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: default avatarMarius Vlad <marius.vlad@collabora.com>
@@ -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