This is the script that I used to manually launch the test, allowing me
to add debug info in the source code. To use it, build first the package
with `dpkg-buildpackage -us -uc`, and then run this from the outside
folder (it presumes that the package sources are at $PWD/gtk4; modify
GTK4_DEB_BASE_PATH to the right path).
#!/bin/bash
export GTK4_DEB_BASE_PATH=${PWD}/gtk4
export G_ENABLE_DIAGNOSTIC=0
export
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
export G_TEST_BUILDDIR=${GTK4_DEB_BASE_PATH}/debian/build/deb/testsuite/reftests
export
LD_LIBRARY_PATH=${GTK4_DEB_BASE_PATH}/debian/build/deb/testsuite/reftests:${GTK4_DEB_BASE_PATH}/debian/build/deb/gtk
export GTK_CSD=1
export TEST_OUTPUT_SUBDIR=x11
export MALLOC_PERTURB_=90
export
REFTEST_MODULE_DIR=${GTK4_DEB_BASE_PATH}/debian/build/deb/testsuite/reftests
export ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
export GSETTINGS_SCHEMA_DIR=${GTK4_DEB_BASE_PATH}/debian/build/deb/gtk
export GDK_DEBUG=default-settings
export GDK_BACKEND=x11
export GTK_A11Y=test
export GSETTINGS_BACKEND=memory
export G_TEST_SRCDIR=${GTK4_DEB_BASE_PATH}/testsuite/reftests
#export GSK_RENDERER=vulkan
echo launch 1
Xvfb &
echo launch 2
sleep 1
echo launch 3
export DISPLAY=:0.0
# this test fails
${GTK4_DEB_BASE_PATH}/debian/build/deb/testsuite/reftests/gtk-reftest --tap -k
-o ${GTK4_DEB_BASE_PATH}/debian/build/deb/testsuite/reftests/output
${GTK4_DEB_BASE_PATH}/testsuite/reftests/background-positioning-area-empty.ui
# this test works
#${GTK4_DEB_BASE_PATH}/debian/build/deb/testsuite/reftests/gtk-reftest --tap -k
-o ${GTK4_DEB_BASE_PATH}/debian/build/deb/testsuite/reftests/output
${PWD}/gtk4/testsuite/reftests/listview-margin.ui
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2119291
Title:
mesa 25.0.7 SRU breaks gtk4 on s390x
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/2119291/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp