Codebase list python-pauvre / 78a72c0
using more robust absolute python path Thanks Andreas for the tip! Etienne Mollier 3 years ago
2 changed file(s) with 7 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
1111 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
1212 --- python-pauvre.orig/pauvre/tests/test_synplot.py
1313 +++ python-pauvre/pauvre/tests/test_synplot.py
14 @@ -51,7 +51,9 @@
14 @@ -51,7 +51,8 @@
1515 """This verifies that the LibSeq class is constructed with all of the
1616 parameters that are present in the meraculous config files"""
1717 os.chdir(self.thisoutdir)
1818 - thiscommand = """pauvre synplot --aln_dir {0} \
19 + thiscommand = """PYTHONPATH=../../../..\
20 + python3 ../../../pauvre_main.py synplot \
19 + thiscommand = """python3 ../../../pauvre_main.py synplot \
2120 + --aln_dir {0} \
2221 --fileform pdf \
2322 --gff_paths {1} {2} {3} \
1919 %:
2020 dh $@ --with python3 --buildsystem=pybuild
2121
22 ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
23 #override_dh_auto_test:
24 #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
25 # do_stuff_for_testing
26 #endif
22 override_dh_auto_test:
23 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
24 export PYTHONPATH="$(CURDIR)" \
25 && dh_auto_test
26 endif