From 1249d490793b1c0f3aeadb946cbc3edd7f75f9c8 Mon Sep 17 00:00:00 2001 From: "Andrew L. Moore" Date: Tue, 22 Mar 2022 21:36:41 -0400 Subject: [PATCH] Extend PATH used by `dh_auto_test` to include `guiunittests`. This resolves the `dh_auto_test` error: *Could not find executable guiunittests* --- debian/changelog | 7 +++++++ debian/rules | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/debian/changelog b/debian/changelog index 32a49b92..a952b4aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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) Wed, 23 Aug 2022 02:25:23 +0000 + barrier (2.3.3) UNRELEASED; urgency=medium [ Aaron Bieber ] diff --git a/debian/rules b/debian/rules index 64ddd45f..f96dcf94 100755 --- a/debian/rules +++ b/debian/rules @@ -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