New failures related to recent developments

Niels Möller nisse at lysator.liu.se
Tue Feb 28 15:40:00 CET 2012


Torbjorn Granlund <tg at gmplib.org> writes:

> Please take care of any fixing.  It's your baby after all.  :-)

Checked in now. Hope it's sufficient.

> (I think the mini-gmp test suite should have caught these errors.  I'd
> suggest that you enhance it, and make sure these types of errors are
> actually detected.)

I've added some make rules to make it possible to run make
check-mini-gmp from the gmp tree. It's should work both when building in
the srcdir and when using a separate build dir. Limitations: It uses
mini-gmp/tests/Makefile which requires GNU make. And built files are not
removed by make clean (I'd need to check the automake manual for where
to put that).

No changes to the actual tests, yet. There's lots of room for
improvements there.

The bug in mpz_abs_add actually triggered failures in mini-gmp's t-gcd
and t-powm. But they didn't earlier when I built mini-gmp separately, I
don't understand why.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list