How to run one test when gcc is not used ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Runing one test can be done with GCC and the following process:

 $ make clean
 $ export CC="gcc -fprofile-arcs -ftest-coverage"; ./config enable-unit-test
 $ make depend
 $ make
 $ make TESTS="test_cms" test
 $ make TESTS=test_heartbeat test


However, on AIX, I'm using xlC, which does not provide the -fprofile-arcs -ftest-coverage options. So, it seems that I only can run ALL the tests.

Is there another solution for running one test that does not depend on GCC ?
If not, shouldn't the unit testing of OpenSSL use a GCC-independent mechanism so that running one test is possible without GCC ?

Where is the page explaining how to unit test in details ? I haven't been able to find it, only hints on the Web, and general ideas on OpenSSL wiki pages but no details.

Thanks

Cordialement,

Tony Reix

Bull - ATOS
IBM Coop Architect & Technical Leader
Office : +33 (0) 4 76 29 72 67
1 rue de Provence - 38432 ?chirolles - France
www.atos.net<https://mail.ad.bull.net/owa/redir.aspx?C=PvphmPvCZkGrAgHVnWGsdMcDKgzl_dEIsM6rX0g4u4v8V81YffzBGkWrtQeAXNovd3ttkJL8JIc.&URL=http%3a%2f%2fwww.atos.net%2f>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160203/86d70a04/attachment.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux