[PATCH] 1 Added support for JUnit in CMake.
A new function add_junit_test() has been added to execute JUnit tests in CMake. The function is used to execute the unit tests in the common package. Ticket #36 Note: The test report will be handled in a separate patch. JUnit doesn't have a built-in report generator, so we might have to write a custom code to generate this kind of report: http://stackoverflow.com/questions/4922867/junit-xml-format-specification-th... -- Endi S. Dewata
Andreas, can you give this a review? Is this something that can get into upstream? On 11/28/2011 01:48 PM, Endi Sukma Dewata wrote:
A new function add_junit_test() has been added to execute JUnit tests in CMake. The function is used to execute the unit tests in the common package.
Ticket #36
Note: The test report will be handled in a separate patch. JUnit doesn't have a built-in report generator, so we might have to write a custom code to generate this kind of report:
http://stackoverflow.com/questions/4922867/junit-xml-format-specification-th...
_______________________________________________ Pki-devel mailing list Pki-devel@redhat.com https://www.redhat.com/mailman/listinfo/pki-devel
On 11/28/2011 01:48 PM, Endi Sukma Dewata wrote:
A new function add_junit_test() has been added to execute JUnit tests in CMake. The function is used to execute the unit tests in the common package.
Ticket #36
Note: The test report will be handled in a separate patch. JUnit doesn't have a built-in report generator, so we might have to write a custom code to generate this kind of report:
http://stackoverflow.com/questions/4922867/junit-xml-format-specification-th...
_______________________________________________ Pki-devel mailing list Pki-devel@redhat.com https://www.redhat.com/mailman/listinfo/pki-devel ACK from me. I applied the patch and ran the scripte build_dogtag_pki which still ran successfully. I also applied and ran the tests by hand usig cmake:
-DVAR_INSTALL_DIR:PATH=/var -DBUILD_PKI_CORE:BOOL=ON -DJAVA_LIB_INSTALL_DIR=/usr/lib64/java ../../pki/pki/ make make test We'll push it as soon as we get the git repo established and approved. Can you open tickets for the TODO messages in the code, specifically about the one for automatically finding all of the JUnit tests?
participants (2)
-
Adam Young -
Endi Sukma Dewata