[med-svn] [Git][med-team/cat-bat][master] 2 commits: Slightly cleanup run-unit-test, install the script as doc as well as an...

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Jan 11 10:25:11 GMT 2024



Andreas Tille pushed to branch master at Debian Med / cat-bat


Commits:
d1288009 by Andreas Tille at 2024-01-11T10:40:54+01:00
Slightly cleanup run-unit-test, install the script as doc as well as an accompanying README.test to inform users how to test the program on their local system.

- - - - -
32e95cbf by Andreas Tille at 2024-01-11T11:19:41+01:00
Team upload to unstable

- - - - -


4 changed files:

- + debian/README.test
- debian/changelog
- debian/docs
- 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:
+
+    sh run-unit-test
+
+in order to confirm its integrity.


=====================================
debian/changelog
=====================================
@@ -1,4 +1,6 @@
-cat-bat (5.3-2) UNRELEASED; urgency=medium
+cat-bat (5.3-2) unstable; urgency=medium
+
+  * Team upload.
 
   [ Andreas Tille ]
   * Prevent Salsa CI from building under i386 which is prevented by
@@ -7,7 +9,7 @@ cat-bat (5.3-2) UNRELEASED; urgency=medium
   [ Komolehin Israel Timilehin ]
   * Added autopkgtest
 
- -- Andreas Tille <tille at debian.org>  Mon, 27 Nov 2023 12:06:16 +0100
+ -- Komolehin Israel Timilehin <komolehinisrael at gmail.com>  Thu, 11 Jan 2024 10:42:08 +0100
 
 cat-bat (5.3-1) unstable; urgency=medium
 


=====================================
debian/docs
=====================================
@@ -1 +1,3 @@
 README*
+debian/tests/run-unit-test
+debian/README.test


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,6 +1,5 @@
 #!/bin/bash
 
-CUR_DIR=`pwd`
 pkg=cat-bat
 
 if [ "$AUTOPKGTEST_TMP" = "" ]; then
@@ -10,16 +9,12 @@ if [ "$AUTOPKGTEST_TMP" = "" ]; then
 
 fi
 
-mkdir -p "$AUTOPKGTEST_TMP"/data
-
 # Copy tests data
-cp -a /usr/share/doc/"${pkg}"/examples/data/* "$AUTOPKGTEST_TMP"/data
-
+cp -a /usr/share/doc/"${pkg}"/examples/data "$AUTOPKGTEST_TMP"
 
 # Change directory into data
 cd "$AUTOPKGTEST_TMP"/data/
 
-
 # Extract fasta
 gunzip prepare/small.fa.gz
 
@@ -60,4 +55,4 @@ else
     echo "One or both classification files not generated"
     rm -rf out.*
     exit 1
-fi
\ No newline at end of file
+fi



View it on GitLab: https://salsa.debian.org/med-team/cat-bat/-/compare/423538633ca6d0cf9f280e4befa5afbdd3cdef41...32e95cbf3aa9e46ca6962fa9e6ae5ff29265d854

-- 
View it on GitLab: https://salsa.debian.org/med-team/cat-bat/-/compare/423538633ca6d0cf9f280e4befa5afbdd3cdef41...32e95cbf3aa9e46ca6962fa9e6ae5ff29265d854
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/20240111/2eb2a31f/attachment-0001.htm>


More information about the debian-med-commit mailing list