[PR #1619] [CLOSED] Extend PATH used by dh_auto_test to include guiunittests. #1819

Closed
opened 2026-05-05 08:02:38 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/debauchee/barrier/pull/1619
Author: @slewsys
Created: 3/23/2022
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 1249d49 Extend PATH used by dh_auto_test to include guiunittests.

📊 Changes

2 files changed (+11 additions, -0 deletions)

View changed files

📝 debian/changelog (+7 -0)
📝 debian/rules (+4 -0)

📄 Description

This resolves the dh_auto_test error: Could not find executable guiunittests.
debian/changelog updated to version 2.4.0.

To generate a Debian package, I'm using git-buildpackage as follows:

sudo apt build-dep barrier
gh  repo clone debauchee/barrier
cd ./barrier
git submodule update --init --recursive
git branch upstream
gbp buildpackage --git-upstream-tree=branch

This works well until guiunittests is called. Since ./build/bin is not in the PATH, dh_auto_test fails with error above. The attached patch to debian/rules adds build/bin to the PATH environment variable used by dh_auto_test.

Ubuntu 22.04 simply disables the tests, which isn't ideal.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/debauchee/barrier/pull/1619 **Author:** [@slewsys](https://github.com/slewsys) **Created:** 3/23/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`1249d49`](https://github.com/debauchee/barrier/commit/1249d490793b1c0f3aeadb946cbc3edd7f75f9c8) Extend PATH used by `dh_auto_test` to include `guiunittests`. ### 📊 Changes **2 files changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `debian/changelog` (+7 -0) 📝 `debian/rules` (+4 -0) </details> ### 📄 Description This resolves the `dh_auto_test` error: *Could not find executable guiunittests*. debian/changelog updated to version 2.4.0. To generate a Debian package, I'm using [git-buildpackage](https://github.com/agx/git-buildpackage) as follows: ```shell sudo apt build-dep barrier gh repo clone debauchee/barrier cd ./barrier git submodule update --init --recursive git branch upstream gbp buildpackage --git-upstream-tree=branch ``` This works well until `guiunittests` is called. Since *./build/bin* is not in the PATH, dh_auto_test fails with error above. The attached patch to *debian/rules* adds *build/bin* to the PATH environment variable used by dh_auto_test. Ubuntu 22.04 simply disables the tests, which isn't ideal. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 08:02:38 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1819
No description provided.