[Debian-med-packaging] Bug#1009159: Add autopkgtest

Nilesh Patra nilesh at riseup.net
Thu Oct 5 18:25:28 BST 2023


On Thu, 5 Oct 2023 10:53:06 +0100 Luma <ach.lumap at gmail.com> wrote:
> Hello,
> Pleas find attached a patch for Bug#1009159.

Thanks for the patch, but this looks wrong since it does not do anything other
than printing out a help menu.
We would like to actually test the binary for some data and verify whether output
is correct.

Also, it seems to even return a non-zero exit code and fails its testsuite
in current scenario. Did you run the autopkgtests before submitting it?

autopkgtest [22:37:50]: test run-unit-test: [-----------------------
# Too few arguments handed
# Printing help message:
# KmerResistance-2.0 correlates genes to species from WGS data, by mapping reads with KMA
# Options are:          Desc:                           Default:                Requirements:
#
#       -i              Input/query file name                                   REQUIRED
#       -o              Output file                                             REQUIRED
#       -t_db           Template DB                                             REQUIRED
#       -s_db           Species DB                                              REQUIRED
#       -id             ID threshhold                   70.0
#       -hid            Hard ID threshhold                      1.0
#       -dct            Depth correction threshhold     0.1
#       -kma            alternative KMA         kma
#       -v              Version
#       -h              Shows this help message
#
autopkgtest [22:37:51]: test run-unit-test: -----------------------]
autopkgtest [22:37:51]: test run-unit-test:  - - - - - - - - - - results - - - - - - - - - -
run-unit-test        FAIL non-zero exit status 1
autopkgtest [22:37:51]: @@@@@@@@@@@@@@@@@@@@ summary
run-unit-test        FAIL non-zero exit status 1



More information about the Debian-med-packaging mailing list