.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>
This commit is contained in:
parent
78ba71191a
commit
288214323c
@ -198,6 +198,7 @@ aarch64-debian-container_prep:
|
|||||||
paths:
|
paths:
|
||||||
- $BUILDDIR/*.png
|
- $BUILDDIR/*.png
|
||||||
- $BUILDDIR/meson-logs
|
- $BUILDDIR/meson-logs
|
||||||
|
- $BUILDDIR/dmesg.log
|
||||||
- $BUILDDIR/weston-virtme
|
- $BUILDDIR/weston-virtme
|
||||||
- $PREFIX
|
- $PREFIX
|
||||||
reports:
|
reports:
|
||||||
|
@ -20,10 +20,14 @@ export PATH=$HOME/.local/bin:$PATH
|
|||||||
export PATH=/usr/local/bin:$PATH
|
export PATH=/usr/local/bin:$PATH
|
||||||
|
|
||||||
export ASAN_OPTIONS=detect_leaks=0,atexit=1
|
export ASAN_OPTIONS=detect_leaks=0,atexit=1
|
||||||
|
export SEATD_LOGLEVEL=debug
|
||||||
|
|
||||||
# run the tests and save the exit status
|
# run the tests and save the exit status
|
||||||
# we give ourselves a very generous timeout multiplier due to ASan overhead
|
# 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
|
seatd-launch -- meson test --no-rebuild --timeout-multiplier 4
|
||||||
|
dmesg &> dmesg.log
|
||||||
|
echo 0x00 > /sys/module/drm/parameters/debug
|
||||||
TEST_RES=$?
|
TEST_RES=$?
|
||||||
|
|
||||||
# create a file to keep the result of this script:
|
# create a file to keep the result of this script:
|
||||||
|
Loading…
Reference in New Issue
Block a user