[med-svn] [Git][med-team/gubbins][master] add src/ to build time tests

Étienne Mollier gitlab at salsa.debian.org
Mon Nov 2 07:37:17 GMT 2020



Étienne Mollier pushed to branch master at Debian Med / gubbins


Commits:
e6d7228f by Étienne Mollier at 2020-11-02T08:33:43+01:00
add src/ to build time tests

The code path that searches automatically for the `gubbins' program
into src/ when not available in the PATH does not work.  So, getting
this path explicitely prior to running the test base works the issue
around.  The issue should not affect normal package operation, as
the Debian `gubbins' program is normally supposed to be appended to
the path by gubbins_exe_in_usr_lib.patch.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,12 @@
 gubbins (2.4.1-3) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Remove non-working e-mail addresses
   * Remove Aidan Delaney from Uploaders since his e-mail is bouncing
 
+  [ Étienne Mollier ]
+  * Added src/ to PATH for build time tests.  (Closes: #971111)
+
  -- Andreas Tille <tille at debian.org>  Fri, 30 Oct 2020 11:51:55 +0100
 
 gubbins (2.4.1-2) unstable; urgency=medium


=====================================
debian/rules
=====================================
@@ -23,7 +23,7 @@ override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	dh_auto_test
 	cd python && \
-	python3 setup.py test
+	PATH="$$PATH:../src" python3 setup.py test
 endif
 
 override_dh_install:



View it on GitLab: https://salsa.debian.org/med-team/gubbins/-/commit/e6d7228fdeb320ee10ef1c2dd094d80a807f2c7b

-- 
View it on GitLab: https://salsa.debian.org/med-team/gubbins/-/commit/e6d7228fdeb320ee10ef1c2dd094d80a807f2c7b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201102/69400b06/attachment.html>


More information about the debian-med-commit mailing list