ack debian9 testing questions

Nguyen Van Long long.nguyenvancmc at toshiba-tsdv.com
Mon Jul 2 03:52:28 BST 2018


Dear Axel,

The first one, thanks a lots for your reply.
But I just want to ask you, do you know some other tools to test package
working like autopkgtest?

-----Original Message-----
From: Axel Beckert [mailto:abe at debian.org] 
Sent: Friday, June 29, 2018 7:17 PM
To: Nguyen Van Long
Cc: pkg-perl-maintainers at lists.alioth.debian.org
Subject: Re: ack debian9 testing questions

Hi,

Nguyen Van Long wrote:
> I'm trying to testing how to ack package work on debian9.
> 
> So my questions are:
> 
> 1.       Currently, are there existing any way/support to test on ack
source
> package?

The ack test suite is run when the package is built.

> 2.       Can you suggest some tools like "autopkgtest" to test ack or even
> other packages?

ack supports autopkgtest, e.g. if you want to test the installed ack package
on your system with autopkgtest, you can do this like this:

First install the needed dependencies (as root):

# apt build-dep ack
# apt install autopkgtest pkg-perl-autopkgtest

Then (as normal user) download and unpack the source package (needed for the
included test suite):

$ apt-get source ack

Change into the unpacked source package and run autopkgtest:

$ autopkgtest -B ./ack-2.14 --- null

It will run the upstream test suite on the installed ack package.

It will though through an error if the transitional package ack-grep is not
installed:

---------------------------------------------------------------------------
dpkg-query: package 'ack-grep' is not installed and no information is
available Use dpkg --info (= dpkg-deb --info) to examine archive files, and
dpkg --contents (= dpkg-deb --contents) to list their contents.

#   Failed test 'Got status information for package ack-grep'
#   at
/usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t line
81.

#   Failed test 'Got file list for package ack-grep'
#   at
/usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t line
87.
# Looks like you failed 2 tests of 8.
---------------------------------------------------------------------------

You can either ignore these errors or install the transitional package
ack-grep beforehand.

Hope, this helps.

		Regards, Axel
--
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

--
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com



-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com




More information about the pkg-perl-maintainers mailing list