Extend PATH used by `dh_auto_test` to include `guiunittests`.

This resolves the `dh_auto_test` error: *Could not find executable guiunittests*
This commit is contained in:
Andrew L. Moore 2022-03-22 21:36:41 -04:00
parent 653e4badeb
commit 1249d49079
No known key found for this signature in database
GPG Key ID: F2707346D41AEE96
2 changed files with 11 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
barrier (2.4.0) unstable; urgency=medium
[ Andrew L. Moore ]
* Extend PATH used by `dh_auto_test` to include `guiunittests`.
-- Andrew L. Moore (Server: elle.slewsys.org) <slewsys@gmail.com> Wed, 23 Aug 2022 02:25:23 +0000
barrier (2.3.3) UNRELEASED; urgency=medium
[ Aaron Bieber ]

4
debian/rules vendored
View File

@ -1,5 +1,9 @@
#!/usr/bin/make -f
EXTENDED_PATH := $(PATH):$(shell pwd)/build/bin
%:
dh $@ --buildsystem=cmake --builddirectory=build -Pbuild/debian --parallel
override_dh_auto_test:
PATH=$(EXTENDED_PATH) dh_auto_test