Ciao,

Il Lun, 6 Luglio 2015 11:46 pm, Torbjörn Granlund ha scritto:
> Unfortunately, it has now become obvious to me that symbol hiding
> conflicts with unit testing.  :-(
>
> This can be handled either by
>
> 1. hiding (much!) fewer internal symbols, or by

I agree with starting to hide some symbols.

> 2. linking each unit test to the needed PIC objects instead of the ,so
> file.
>
> The latter is a major task, but the dependencies could presumably be
> done with some clever scripts.

Writing a test_wrapper function is too messy?
void test_wrapper (int index, void *retval, ...)
{
  switch (index)
    {
    case 1:
      *retval = toomxy...
..

Regards,
m

-- 
http://bodrato.it/

_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to