[med-svn] [Git][med-team/fastqc][master] Provide run-unit-test as user example
Andreas Tille
gitlab at salsa.debian.org
Tue Apr 7 07:38:50 BST 2020
Andreas Tille pushed to branch master at Debian Med / fastqc
Commits:
a1646d21 by Andreas Tille at 2020-04-07T08:38:37+02:00
Provide run-unit-test as user example
- - - - -
5 changed files:
- + debian/README.test
- debian/changelog
- debian/docs
- debian/fastqc.examples
- debian/tests/run-unit-test
Changes:
=====================================
debian/README.test
=====================================
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+ cd examples && bash run-unit-test
+
+in order to confirm its integrity.
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+fastqc (0.11.9+dfsg-4) UNRELEASED; urgency=medium
+
+ * Provide run-unit-test as user example
+
+ -- Andreas Tille <tille at debian.org> Tue, 07 Apr 2020 08:30:38 +0200
+
fastqc (0.11.9+dfsg-3) unstable; urgency=medium
[ tony mancill ]
=====================================
debian/docs
=====================================
@@ -1 +1,2 @@
README.txt
+debian/README.test
=====================================
debian/fastqc.examples
=====================================
@@ -1 +1,3 @@
debian/tests.fastqc/*
+debian/tests/run-unit-test
+debian/tests/*.txt
=====================================
debian/tests/run-unit-test
=====================================
@@ -2,7 +2,6 @@
set -e
pkg="fastqc"
-tests_dir="$PWD/debian/tests"
test_failures=0
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
@@ -19,7 +18,7 @@ find . -name "*.gz" -exec gunzip \{\} \;
for sample in example.fastq toy_sam.sam toy_bam.bam ; do
/usr/bin/fastqc --extract "$sample"
result="${sample%%.*}_fastqc"
- expected="${tests_dir}/${result}_expected_summary.txt"
+ expected="${result}_expected_summary.txt"
if ! diff -q "${result}/summary.txt" ${expected} 2>/dev/null ; then
(( test_failures += 1 ))
cat <<EOT
View it on GitLab: https://salsa.debian.org/med-team/fastqc/-/commit/a1646d2190c3ae73692c715a0b9f59fd32a6e8f4
--
View it on GitLab: https://salsa.debian.org/med-team/fastqc/-/commit/a1646d2190c3ae73692c715a0b9f59fd32a6e8f4
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/20200407/eb90de79/attachment-0001.html>
More information about the debian-med-commit
mailing list