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 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.