On 23/01/25 1:13 am, Paride Legovini wrote:
> Control: tags -1 + moreinfo
>
> On Mon, 20 Dec 2021 Nilesh Patra <nil...@debian.org> wrote:
>> 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?
> 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?
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>"
> Thanks,
>
> Paride
Best,
Nilesh