[med-svn] [Git][med-team/vdjtools][master] Reduce precision of test result to work on all architectures

Andreas Tille gitlab at salsa.debian.org
Tue Feb 9 18:38:50 GMT 2021



Andreas Tille pushed to branch master at Debian Med / vdjtools


Commits:
7acb0ec1 by Andreas Tille at 2021-02-09T19:32:31+01:00
Reduce precision of test result to work on all architectures

- - - - -


3 changed files:

- debian/changelog
- debian/tests/run-unit-test
- debian/tests/vdjtools_testout.basicstats.txt.expected


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+vdjtools (1.2.1+git20190311-5) UNRELEASED; urgency=medium
+
+  * Team upload
+  * Reduce precision of test result to work on all architectures
+    Closes: #982116
+
+ -- Andreas Tille <tille at debian.org>  Tue, 09 Feb 2021 19:23:06 +0100
+
 vdjtools (1.2.1+git20190311-4) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/tests/run-unit-test
=====================================
@@ -14,4 +14,5 @@ cd $AUTOPKGTEST_TMP
 
 # test basic invocation of the installed binary and write the output to "vdjtools_testout"
 vdjtools CalcBasicStats vdjtools.txt.gz vdjtools_testout
+sed -i 's/\(1.75443686553348\)[0-9][0-9]\(E-4\)/\1\2/' vdjtools_testout.basicstats.txt
 diff vdjtools_testout.basicstats.txt vdjtools_testout.basicstats.txt.expected


=====================================
debian/tests/vdjtools_testout.basicstats.txt.expected
=====================================
@@ -1,2 +1,2 @@
 sample_id	metadata_blank	count	diversity	mean_frequency	geomean_frequency	nc_diversity	nc_frequency	mean_cdr3nt_length	mean_insert_size	mean_ndn_size	convergence
-vdjtools	.	11878	2257	4.4306601683650267E-4	1.7544368655334882E-4	161	0.038979626199696735	42.83482067688163	0.0	0.0	1.0148381294964028
+vdjtools	.	11878	2257	4.4306601683650267E-4	1.75443686553348E-4	161	0.038979626199696735	42.83482067688163	0.0	0.0	1.0148381294964028



View it on GitLab: https://salsa.debian.org/med-team/vdjtools/-/commit/7acb0ec1cc056f50e98d7b51ebaa24e0a1b465e1

-- 
View it on GitLab: https://salsa.debian.org/med-team/vdjtools/-/commit/7acb0ec1cc056f50e98d7b51ebaa24e0a1b465e1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210209/b574446d/attachment.html>


More information about the debian-med-commit mailing list