[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1061152: asymptote: autopkgtest should test installed package



On 19.01.2024 17:23, Sven Joachim wrote:

Hello,

Your package's autopkgtest runs the upstream test suite which is
nice. However, it first builds the program and then tests that,
rather than the package from the archive.  This is not very useful,
as changes in reverse dependencies could cause breakage at runtime
which might vanish after a rebuild.


Not sure how to change that. I removed the "build-needed" restriction from the test suite control file and run the autopkgtest as follows:

autopkgtest asymptote_2.86+ds1-2_amd64.deb asymptote_2.86+ds1-2.dsc -- schroot unstable-amd64-sbuild

The test fails:

(Reading database ... 52447 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [12:35:24]: test test-suite: [-----------------------
make: *** No rule to make target 'test'.  Stop.
autopkgtest [12:35:25]: test test-suite: -----------------------]
autopkgtest [12:35:25]: test test-suite: - - - - - - - - - - results - - - - - - - - - -
test-suite           FAIL non-zero exit status 2
autopkgtest [12:35:25]: @@@@@@@@@@@@@@@@@@@@ summary
test-suite           FAIL non-zero exit status 2

...probably b/c the build did not run yet and there is no Makefile.

Were you able to run the test suite w/o running a build first? If yes let me know how. Thanks!

H.
--
sigfault

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: