Debian Patches

Status for libqtdbustest/0.3.2-3

Patch Description Author Forwarded Bugs Origin Last update
2001_run-test-in-verbose-mode.patch Produce more verbose test resultsAbstract:
This patch has been added for debugging Debian bug #879937.
.
It will be removed in a later upload once the issue is resolved.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1001_disable-suicidal-process-test.patch Disable SuicidalProcess unit testAbstract:
The test checks whether the process has the correct arguments and is still
alive via ps, the value of argv[0] depends on how the process is exec'd which
is an implementation detail and the used ps arguments as well as the resulting
output are non-portable. This leads to build failures, disable the test until
it gets reimplemented upstream by the UBports project.
Guido Berhoerster <guido+ubports@berhoerster.name> no
1003_no-QProcess-waitForstarted-timeout.patch Never time out, if launching test runner dbus-daemons. This may be have to be turned into long long timeouts instead... Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1004_make-reading-address-from-dbus-daemon-more-robust.patch Make reading address from dbus-daemon more robust
After starting dbus-daemon DBusTestRunner attempts to read the address from
stdout and puts it into DBUS_SESSION_BUS_ADDRESS and DBUS_SYSTEM_BUS_ADDRESS
environemnt variables. Unfortunately it sets the process channel mode of the
QProcess to QProcess::MergedChannels which results in stdout and stderr being
merged. Therefore any warnings dbus-daemon prints to stderr will end up in
those environment variables instead of the actual address causing non-obvious
problems later on.

Remove this and read exactly one line from stdout which should contain the
address. Add an extra sanity check the trimmed output is not empty.

Some consumers also set the session or system configuration file argument
passed to the DBusTestRunner to 0, possibly with the intention to avoid
the unnecessary startup of either dbus-daemon instance. This worked by
accident since it resulted in an empty string passed to --config-file making
dbus-daemon quit with an error message which was erroneously interpreted as the
bus address. In order to keep this behavior, add a check whether the
configuration file passed in is empty and refrain from starting dbus-daemon in
that case.
Guido Berhoerster <guido+ubports@berhoerster.name> no
1005_tests-Workaround-cmake-bug.patch [PATCH] tests: Workaround cmake bug
I have no idea what is going on here, but adding the gmock/gtest
libraries twice seems to fix the issue where cmake does not wait for
gmock to be done building.
Marius Gripsgard <mariogrip@debian.org> no 2024-01-28

All known versions for source package 'libqtdbustest'

Links