Hi Ed, thanks!

On Fri, Mar 05, 2021 at 04:47:55PM +0000, Ed . wrote:
> Hi Luis,
>
> As a generality I’d start by closely reading the error messages you see.

Part of the problem is that I didn't get any informative error. :(

> You haven’t said which tests started failing, so I assume it’s a
> library that uses PDL::FFTW3 (Photonic?).

Yes.

> Whenever you switch lib (or
> indeed Perl version), you’d need to re-run a build, because your Perl
> is now different.

But I didn't change the perl version, only the PDL version. I was in
the process of rebuilding/testing/installing Photonic.

> Unfortunately, the tools don’t really exist to
> automatically spot that, and I’d suggest the only “solution” would be
> just to be aware of that as a possibility as soon as you see errors of
> things related to libraries failing to load, and immediately try
> rebuilding whichever project is showing the errors.

I got the errors when Build-testing the Photonic
package. Unfortunately, the only error message I got was that the
planned number of tests were not run. I tried 'proving' individually
the test programs (i.e., prove t/...; prove -v t/...) but they
messages were not much more informative. I tried running the tests
directly (perl t/...) but it gave me a segmentation fault.

So maybe I can rephrase my question in a more general way: how do you
debug test programs (programs that use Test::More) to find out
why they fail.

Regards,
Luis


>
> Best regards,
> Ed

--

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Av. Universidad s/n CP 62210         |                           (*)/\/  \
Cuernavaca, Morelos, México          | moc...@fis.unam.mx   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB


_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to