Add test coverage for the historical path of gtk-query-immodules-3.0
This commit is contained in:
parent
e897a21134
commit
fcfe6875c4
3
debian/rules
vendored
3
debian/rules
vendored
@ -248,6 +248,9 @@ endif
|
|||||||
override_dh_install:
|
override_dh_install:
|
||||||
dh_install -p$(UDEB_PKG) --sourcedir=debian/install/udeb
|
dh_install -p$(UDEB_PKG) --sourcedir=debian/install/udeb
|
||||||
dh_install --remaining-packages --sourcedir=debian/install/deb
|
dh_install --remaining-packages --sourcedir=debian/install/deb
|
||||||
|
ifneq ($(filter $(EXAMPLES_PKG),$(built_binaries)),)
|
||||||
|
printf '%s\n' "${DEB_HOST_MULTIARCH}" > debian/$(EXAMPLES_PKG)/usr/libexec/installed-tests/gtk+/DEB_HOST_MULTIARCH
|
||||||
|
endif
|
||||||
|
|
||||||
# debhelper >= 13.4 makes all of /usr/libexec executable, which is not
|
# debhelper >= 13.4 makes all of /usr/libexec executable, which is not
|
||||||
# quite right for installed-tests
|
# quite right for installed-tests
|
||||||
|
7
debian/tests/installed-tests
vendored
7
debian/tests/installed-tests
vendored
@ -2,7 +2,7 @@
|
|||||||
# autopkgtest check: Run the installed-tests to verify GTK works correctly
|
# autopkgtest check: Run the installed-tests to verify GTK works correctly
|
||||||
# Based on glib2.0's d/tests/installed-tests, (C) 2013 Canonical Ltd.
|
# Based on glib2.0's d/tests/installed-tests, (C) 2013 Canonical Ltd.
|
||||||
|
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
# Disable gvfs if it happens to be installed. We want to test the built-in
|
# Disable gvfs if it happens to be installed. We want to test the built-in
|
||||||
# stuff
|
# stuff
|
||||||
@ -14,6 +14,11 @@ export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
|
|||||||
# Workaround for #1025312
|
# Workaround for #1025312
|
||||||
export LIBGL_ALWAYS_SOFTWARE=1
|
export LIBGL_ALWAYS_SOFTWARE=1
|
||||||
|
|
||||||
|
DEB_HOST_MULTIARCH="$(cat /usr/libexec/installed-tests/gtk+/DEB_HOST_MULTIARCH)"
|
||||||
|
# Some packages (gcin, hime, ibus) rely on being able to run
|
||||||
|
# gtk-query-immmodules by this path; make sure they won't regress
|
||||||
|
"/usr/lib/${DEB_HOST_MULTIARCH}/libgtk-3-0/gtk-query-immodules-3.0"
|
||||||
|
|
||||||
tests=$(gnome-desktop-testing-runner -l gtk+ |
|
tests=$(gnome-desktop-testing-runner -l gtk+ |
|
||||||
cut -f1 -d' ' |
|
cut -f1 -d' ' |
|
||||||
grep -v '^gtk./a11ystate.test$' |
|
grep -v '^gtk./a11ystate.test$' |
|
||||||
|
Loading…
Reference in New Issue
Block a user