Commit 287c07f0 authored by Liubov Chuprikova's avatar Liubov Chuprikova
Browse files

Set $TERM in d/rules; delete skip_failing_tests.patch

parent 1726ade7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
spades.patch
# bowtie.patch 
install_wo_extra_steps.patch
skip_failing_tests.patch
+0 −23
Original line number Diff line number Diff line
Author: Liubov Chuprikova <chuprikovalv@gmail.com>
Last-Update: Fri, 7 September 2018 18:54:54 +0200
Description: Skip strangly failing tests for a while.


--- a/test/test_help_text.py
+++ b/test/test_help_text.py
@@ -37,6 +37,7 @@
     def test_return_code(self):
         self.assertEqual(self.return_code, 0)
 
+    @unittest.skip("stderr != 0 Need more investigation!")
     def test_output(self):
         self.assertTrue(len(self.stdout) > 0)
         self.assertEqual(len(self.stderr), 0)
@@ -94,6 +95,7 @@
     def test_return_code(self):
         self.assertEqual(self.return_code, 0)
 
+    @unittest.skip("stderr != 0 Need more investigation!")
     def test_output(self):
         self.assertTrue(len(self.stdout) > 0)
         self.assertEqual(len(self.stderr), 0)
+9 −8
Original line number Diff line number Diff line
@@ -2,7 +2,13 @@

# DH_VERBOSE := 1

# NOTE: All build steps are described in setup.py:UnicyclerInstall

# Build time tests are flaky
export DH_BUILD_MAINT_OPTIONS=nocheck

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

include /usr/share/dpkg/default.mk

# copy all nacessary data before testing and make clean after the testing
export PYBUILD_BEFORE_TEST=cp -a unicycler-runner.py {build_dir}; \
@@ -12,13 +18,8 @@ export PYBUILD_AFTER_TEST=rm {build_dir}/unicycler-runner.py; \
	rm -r {build_dir}/sample_data; \
	rm -r {build_dir}/unicycler/__pycache__


# Build time tests are flaky
export DH_BUILD_MAINT_OPTIONS=nocheck

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

include /usr/share/dpkg/default.mk
# Set $TEMR to a known value to avoid "tput: No value for $TERM and no -T specified"
export TERM=linux

%:
	dh $@ --with python3 --buildsystem=pybuild