Étienne Mollier pushed to branch master at Debian Med / python-pauvre
Commits: 78a72c0e by Etienne Mollier at 2020-04-25T19:36:42+02:00 using more robust absolute python path Thanks Andreas for the tip! - - - - - 2 changed files: - debian/patches/test-local-pauvre.patch - debian/rules Changes: ===================================== debian/patches/test-local-pauvre.patch ===================================== @@ -12,13 +12,12 @@ 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 @@ +@@ -51,7 +51,8 @@ """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 \ ++ thiscommand = """python3 ../../../pauvre_main.py synplot \ + --aln_dir {0} \ --fileform pdf \ --gff_paths {1} {2} {3} \ ===================================== debian/rules ===================================== @@ -20,8 +20,8 @@ include /usr/share/dpkg/default.mk %: dh $@ --with python3 --buildsystem=pybuild -### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected -#override_dh_auto_test: -#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) -# do_stuff_for_testing -#endif +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + export PYTHONPATH="$(CURDIR)" \ + && dh_auto_test +endif View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/commit/78a72c0eb90c81cc4d9762b82e5d51621872e477 -- View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/commit/78a72c0eb90c81cc4d9762b82e5d51621872e477 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
