d/rules: Make it clear that we respect nocheck option
This commit is contained in:
parent
81271df54e
commit
b7406e5f34
2
debian/rules
vendored
2
debian/rules
vendored
@ -173,12 +173,14 @@ ifneq ($(filter %-udeb,$(binaries)),)
|
||||
endif
|
||||
|
||||
override_dh_auto_test:
|
||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
# So that gsettings can find the (uninstalled) gtk schemas
|
||||
mkdir -p debian/build/glib-2.0/schemas/
|
||||
cp gtk/org.gtk.* debian/build/glib-2.0/schemas/
|
||||
glib-compile-schemas debian/build/glib-2.0/schemas/
|
||||
# Remove LD_PRELOAD so we don't run with fakeroot, which makes dbus-related tests fail
|
||||
env -u LD_PRELOAD dh_auto_test --builddirectory=debian/build/deb -- -k check -j1
|
||||
endif
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install --builddirectory=debian/build/deb --destdir=debian/install/deb
|
||||
|
Loading…
Reference in New Issue
Block a user