Bug#1061151: asymptote: should run tests at build time
Source: asymptote
Version: 2.86+ds1-1
Your package has a test suite that probably should be run at build time,
but it is not. I looked at the git repository and found that it has
been disabled since at least 2015:
,----
| $ git show f69991bf3
| commit f69991bf3cf85c0560ac93a2b24d96ce67c061d9
| Author: Norbert Preining <norbert@preining.info>
| Date: Tue Jun 23 08:41:59 2015 +0900
|
| do not do testing
|
| diff --git a/debian/rules b/debian/rules
| index 6d9d7387..2d52d8f6 100755
| --- a/debian/rules
| +++ b/debian/rules
| @@ -22,6 +22,9 @@ override_dh_auto_install:
| make install-asy DESTDIR=$(CURDIR)/debian/tmp
| dh_installtex -pasymptote
|
| +override_dh_auto_test:
| + : do nothing here, otherwise make tries to compile prc/test.cc
| +
| override_dh_clean:
| dh_clean
| rm --force doc/latexusage.pdf doc/latexusage.dvi doc/TeXShopAndAsymptote.dvi doc/CAD.dvi
`----
This leaves me rather puzzled: why exactly would it bad if make tries to
compile prc/test.cc?
Note that the test suite is run in an autopkgtest since version
2.73+ds-2, so it apparently works.
Cheers,
Sven
Reply to: