Re: Again help for autopkgtest needed: libsvn-web-perl
On Sat, Feb 22, 2025 at 09:59:29PM +0100, Andreas Tille wrote:
> I intend to salvage libsvn-web-perl but it would be good to have
> autopkgtest working correctly. As you can see in Salsa CI[1] there
> is some trouble in finding
>
> Can't open perl script "/tmp/autopkgtest-lxc.se0edvl4/downtmp/autopkgtest_tmp/smokeX5zrig/bin/svnweb-install": No such file or directory
> YAML Error: Couldn't open /tmp/qHuCyVmLmK/config.yaml for input:
> No such file or directory
>
> I admit I'm (again) clueless about autopkgtest-pkg-perl and do not
> understand why it can't access the files available inside the source
> directory (bin/svnweb-install is in source dir).
Our documentation [1] has this on the 'smoke' test:
This test re-uses the build time test suite present in most CPAN
distributions to check that changes in the package's dependencies
haven't introduced regressions in the package functionality.
The package and its build dependencies are installed, the t/ directory
and test.pl files are copied into a temporary directory, and the build
time test suite is run against the installed modules. The temporary
directory is used to make sure that the installed modules get used
instead of the source tree.
If the test suite needs files outside the t/ directory, those can be
listed in the debian/tests/pkg-perl/smoke-files. [...]
I hope this answers your question.
[1] https://perl-team.pages.debian.net/autopkgtest.html
--
Niko
Reply to: