[med-svn] [Git][med-team/python-pauvre][master] patch for build test failing to start

Étienne Mollier gitlab at salsa.debian.org
Sat Apr 25 17:45:26 BST 2020



Étienne Mollier pushed to branch master at Debian Med / python-pauvre


Commits:
31185cdc by Etienne Mollier at 2020-04-25T18:32:56+02:00
patch for build test failing to start

The test script assumes that the pauvre command is available in the
path of the tester, but at the build stage of the packaging, this
is not available yet.

- - - - -


2 changed files:

- debian/patches/series
- + debian/patches/test-local-pauvre.patch


Changes:

=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 2to3.patch
 typo-redwood.patch
+test-local-pauvre.patch


=====================================
debian/patches/test-local-pauvre.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Use local "pauvre" for build testing
+ The current testing in place embeds a shell script which makes the assumption
+ that the command "pauvre" is available in the path of the tester.  It would
+ seem better to either carry out this test later in the package construction
+ steps, or make sure that this is the working copy of pauvre_main.py which is
+ being tested.  This patch applies the second approach, to allow going a step
+ further with build testing.
+Author: Étienne Mollier <etienne.mollier at mailoo.org>
+Forwarded: no
+Last-Update: 2020-04-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-pauvre.orig/pauvre/tests/test_synplot.py
++++ python-pauvre/pauvre/tests/test_synplot.py
+@@ -51,7 +51,9 @@
+         """This verifies that the LibSeq class is constructed with all of the
+         parameters that are present in the meraculous config files"""
+         os.chdir(self.thisoutdir)
+-        thiscommand =    """pauvre synplot --aln_dir {0} \
++        thiscommand =    """PYTHONPATH=../../../..\
++                         python3 ../../../pauvre_main.py synplot \
++                         --aln_dir {0} \
+                          --fileform pdf \
+                          --gff_paths {1} {2} {3} \
+                          --center_on COX1 \



View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/commit/31185cdc17a3ec0078b5adaff167b87eb59ff3a4

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/commit/31185cdc17a3ec0078b5adaff167b87eb59ff3a4
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/20200425/cf15aa55/attachment-0001.html>


More information about the debian-med-commit mailing list