using more robust absolute python path
Thanks Andreas for the tip!
Etienne Mollier
3 years ago
11 | 11 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
12 | 12 |
--- python-pauvre.orig/pauvre/tests/test_synplot.py
|
13 | 13 |
+++ python-pauvre/pauvre/tests/test_synplot.py
|
14 | |
@@ -51,7 +51,9 @@
|
|
14 |
@@ -51,7 +51,8 @@
|
15 | 15 |
"""This verifies that the LibSeq class is constructed with all of the
|
16 | 16 |
parameters that are present in the meraculous config files"""
|
17 | 17 |
os.chdir(self.thisoutdir)
|
18 | 18 |
- thiscommand = """pauvre synplot --aln_dir {0} \
|
19 | |
+ thiscommand = """PYTHONPATH=../../../..\
|
20 | |
+ python3 ../../../pauvre_main.py synplot \
|
|
19 |
+ thiscommand = """python3 ../../../pauvre_main.py synplot \
|
21 | 20 |
+ --aln_dir {0} \
|
22 | 21 |
--fileform pdf \
|
23 | 22 |
--gff_paths {1} {2} {3} \
|
19 | 19 |
%:
|
20 | 20 |
dh $@ --with python3 --buildsystem=pybuild
|
21 | 21 |
|
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
|