GMP Library Self Tests

Marc Glisse marc.glisse at inria.fr
Thu Apr 2 19:20:28 UTC 2015


On Thu, 2 Apr 2015, Williamson, Ralph K. wrote:

> I am cross-compiling GMP on a linux pc and targeting an ARM linux 
> system. In this case "make check" fails of course.

Works for me (I have configured binfmt to use qemu).

> But I would like to always build the tests without failing the build 
> process.
>
> It would be nice if you could detect cross-compilation and go ahead and 
> build the tests and maybe a shell script to execute them on the target, 
> rather than attempt to execute the tests on the build machine and 
> failing.
>
> I would do this myself but I am a total novice when it comes to 
> autotools. I looked and I can't even tell where this is done :)

Look for TESTS_ENVIRONMENT.

-- 
Marc Glisse


More information about the gmp-bugs mailing list