#1001992 autopkgtest: Support for non-install test

Package:
autopkgtest
Source:
autopkgtest
Submitter:
Nilesh Patra
Date:
2025-01-23 00:03:01 UTC
Severity:
wishlist
Tags:
#1001992#5
Date:
2021-12-19 20:18:35 UTC
From:
To:
Dear Maintainer,

Currently, if I want to test a fixed package on a porter-box machine,
there is no way to do so.
To elaborate, let's say I have version 'x' of a package 'foo' which fails it's
autopkgtest.

Now, I fix it locally on a porter box, and want to test my fix before upload, by running
autopkgtest on the porter box. Since autopkgtest needs root access to install the package
on the machine I am testing on, it will not work, as root perms on porter machines are not
granted.

Is it somehow possible to circumvent this? Or is it somehow possible to run autopkgtest
w/o installing the package, and "assuming" that the .deb is already there?

Regards,
Nilesh

#1001992#10
Date:
2025-01-22 19:43:43 UTC
From:
To:
Control: tags -1 + moreinfo
Hi Nilesh,

Let me check I got this right. You would like autopkgtest to test the
package by running tests from a built source tree, or from an arbitrary
location under your home directory, instead of using a system-wide
installed .deb?

Thanks,

Paride

#1001992#17
Date:
2025-01-22 23:59:08 UTC
From:
To:
Yes. This is to confirm that the fixes I've implemented for failing
autopkgtests resolve issues for a different architecture, which is the
specific problem I'm addressing.

The equivalent of
"$ sudo autopkgtest -B /path/to/deb  -- schroot <schroot-name>"

Best,
Nilesh