mirror of
https://git.proxmox.com/git/fwupd
synced 2025-04-28 21:14:14 +00:00
trivial: debian: install device tests only if found during build
This commit is contained in:
parent
d5d12ec5ce
commit
8eb67d1839
1
debian/fwupd-tests.install
vendored
1
debian/fwupd-tests.install
vendored
@ -3,7 +3,6 @@
|
||||
#find them. for more information see:
|
||||
#https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872458
|
||||
usr/share/installed-tests/*
|
||||
usr/share/fwupd/device-tests/*.json
|
||||
usr/libexec/installed-tests/fwupd/fwupd.sh
|
||||
usr/libexec/installed-tests/fwupd/*-self-test
|
||||
debian/lintian/fwupd-tests usr/share/lintian/overrides
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -72,6 +72,9 @@ override_dh_install:
|
||||
#install docs (maybe)
|
||||
[ ! -d debian/tmp/usr/share/doc ] || dh_install -pfwupd-doc usr/share/doc
|
||||
|
||||
#install devices-tests (maybe)
|
||||
[ ! -d debian/tmp/usr/share/fwupd/device-tests/ ] || dh_install -pfwupd-tests usr/share/fwupd/device-tests
|
||||
|
||||
dh_missing -a --fail-missing
|
||||
|
||||
#this is placed in fwupd-tests
|
||||
|
Loading…
Reference in New Issue
Block a user