The regression tests assume a working python in $PATH. This should be checked in configure.ac or something.
Created attachment 50537 [details] [review] [1/4] Check for Python; skip Python tests if not found As with the optional test-dependencies on GLib and dbus-glib, we make this a hard dependency if --enable-tests[=yes], but not if --enable-tests=auto.
Created attachment 50538 [details] [review] [2/4] Give better diagnostics if --enable-tests=yes is given We want to indicate why it's a problem that GLib, dbus-glib are missing.
Created attachment 50539 [details] [review] [3/4] Only ask pkg-config for the systemd unit directory if both are installed pkg-config is not a hard dependency, and this check avoids errors in a minimal build environment: ./configure: line 21777: --variable=systemdsystemunitdir: command not found
Created attachment 50540 [details] [review] [4/4] If --enable-tests=yes, require Python modules for complete test coverage The two relevant tests already exit 0 with a message if importing those modules fails.
Created attachment 51263 [details] [review] [3/4 v2] Only ask pkg-config for the systemd unit directory if both are installed pkg-config is not a hard dependency, and this check avoids errors in a minimal build environment: ./configure: line 21777: --variable=systemdsystemunitdir: command not found --- A fixed version of the previous patch in which the "have systemd" case should work again.
Review of attachment 50537 [details] [review]: Looks good.
Review of attachment 50538 [details] [review]: Looks fine.
Review of attachment 51263 [details] [review]: Looks fine.
Review of attachment 50540 [details] [review]: Looks fine.
Fixed in git for 1.4.16 and 1.5.8, thanks
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.