[med-svn] r16786 - in trunk/packages/python-biopython/trunk/debian: . Tests_fixme tests
Andreas Tille
tille at moszumanska.debian.org
Fri Apr 25 11:55:53 UTC 2014
Author: tille
Date: 2014-04-25 11:55:53 +0000 (Fri, 25 Apr 2014)
New Revision: 16786
Modified:
trunk/packages/python-biopython/trunk/debian/Tests_fixme/run_failing_tests
trunk/packages/python-biopython/trunk/debian/rules
trunk/packages/python-biopython/trunk/debian/tests/run-unit-test
Log:
Deal with Tutorial test
Modified: trunk/packages/python-biopython/trunk/debian/Tests_fixme/run_failing_tests
===================================================================
--- trunk/packages/python-biopython/trunk/debian/Tests_fixme/run_failing_tests 2014-04-25 08:58:55 UTC (rev 16785)
+++ trunk/packages/python-biopython/trunk/debian/Tests_fixme/run_failing_tests 2014-04-25 11:55:53 UTC (rev 16786)
@@ -31,7 +31,7 @@
mkdir Quality
cp -a $DATA/Quality/example.fasta* Quality
-FAILINGTESTS="GenomeDiagram Fasttree_tool Mafft_tool ColorSpiral trie"
+FAILINGTESTS="GenomeDiagram Fasttree_tool Mafft_tool Tutorial ColorSpiral trie"
for ft in $FAILINGTESTS ; do
cp -a $TESTS/test_${ft}.py* .
done
@@ -39,7 +39,7 @@
for ft in $FAILINGTESTS ; do
for pi in $(pyversions -i) $(py3versions -i); do
- $pi run_tests.py -v test_$ft 2>&1 | tee > ../${ft}_${pi}.log
+ LC_ALL=C.UTF-8 $pi run_tests.py -v test_$ft 2>&1 | tee > ../${ft}_${pi}.log
if grep -qwi fail ../${ft}_${pi}.log ; then
echo "Test ${ft} with ${pi}: FAIL"
else
Modified: trunk/packages/python-biopython/trunk/debian/rules
===================================================================
--- trunk/packages/python-biopython/trunk/debian/rules 2014-04-25 08:58:55 UTC (rev 16785)
+++ trunk/packages/python-biopython/trunk/debian/rules 2014-04-25 11:55:53 UTC (rev 16786)
@@ -36,7 +36,7 @@
# FIXME: These tests are failing for unknown reasons and this needs to be investigated
# specifically since test_ColorSpiral and test_trie are running when called manually
-EXCLUDEFAILINGTESTS=GenomeDiagram Fasttree_tool Mafft_tool ColorSpiral trie
+EXCLUDEFAILINGTESTS=GenomeDiagram Fasttree_tool Mafft_tool Tutorial ColorSpiral trie
%:
dh $@ --with python2,python3 --buildsystem=pybuild
@@ -61,7 +61,12 @@
cp -a Tests_avoid debian/tmp_tests
# in the Debian package dialign it is not needed to set DIALIGN2_DIR but the test is verifying this dir
# to run the EMBOSS test test_Emboss also requires to have the environment variable EMBOSS_ROOT set
- dh_auto_test -- --test --system=custom --test-args='cp -a Tests {build_dir}; cd {build_dir}/Tests; env DIALIGN2_DIR=/usr/share/dialign EMBOSS_ROOT=/usr/lib/emboss {interpreter} run_tests.py --offline'
+ LC_ALL=C.UTF-8 dh_auto_test -- --test --system=custom \
+ --test-args='mkdir -p {build_dir}/Doc; \
+ cp -a Doc/Tutorial.tex {build_dir}/Doc; \
+ cp -a Tests {build_dir}; \
+ cd {build_dir}/Tests; \
+ env DIALIGN2_DIR=/usr/share/dialign EMBOSS_ROOT=/usr/lib/emboss {interpreter} run_tests.py --offline'
mv Tests_avoid/* Tests
rmdir Tests_avoid
Modified: trunk/packages/python-biopython/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/python-biopython/trunk/debian/tests/run-unit-test 2014-04-25 08:58:55 UTC (rev 16785)
+++ trunk/packages/python-biopython/trunk/debian/tests/run-unit-test 2014-04-25 11:55:53 UTC (rev 16786)
@@ -25,6 +25,6 @@
# test_Emboss also requires to have the environment variable EMBOSS_ROOT set
for pi in $(pyversions -i) $(py3versions -i); do
- DIALIGN2_DIR=/usr/share/dialign EMBOSS_ROOT=/usr/lib/emboss ${pi} run_tests.py
+ LC_ALL=C.UTF-8 DIALIGN2_DIR=/usr/share/dialign EMBOSS_ROOT=/usr/lib/emboss ${pi} run_tests.py --offline
done
More information about the debian-med-commit
mailing list