Hi. Attached is an ebuild for the cppunit library, a unit testing framework generally used in XP programming projects. It emerges and compiles correctly using gcc3.0.4, and I suggest it's location would be dev-util/cppunit , since all the other unit testers (qtunit and cunit) are in there too. Hopefully it's all properly formatted, etc, since it's my first 'full' ebuild. BTW, the docs are quite useful, thanks. *grin*
Created attachment 2598 [details] The ebuild.
Hi Darke. Thank you for your submission! I have cleaned up and committed the ebuild. It is now keymasked. BTW: what the following is supposed to mean? make check-TESTS make[3]: Entering directory `/var/tmp/portage/cppunit-1.8.0/work/cppunit-1.8.0/examples/hierarchy' ..The following test fails, this is intended: FAIL: hierarchy =================== 1 of 1 tests failed =================== make[3]: *** [check-TESTS] Error 1 As you can see the make check fails on the first test, however the message looks like this is an expected outcome, but this breaks the build... For now I disabled make check and commented out two dobin lines that install the compiled test binaries. Please check or explain this! George
hi guys. it's funny - i was about to write an ebuild for this when one showed up after an rsync, so i decided to test it. it installed fine, but the include files were not working for me, as well as there being some important include files missing from the distribution. as a result, i decided to check out the ebuild and see what was going on. i cleaned things up a little bit, and now the files i needed are getting installed. my updated ebuild runs the make check, and works for me. please let me know if it doesn't work for you. hope this helps!
Created attachment 5223 [details] dev-util/cppunit/cppunit-1.8.0.ebuild
Hi Jeffrey. Thanks for your submission. I tried it out, however it still gives me the same error when going throug the tests. So I (again) disabled them, considering the "this is intended" message. Since you say, that ioriginal ebuild did not install all the necessary files I somewhat cleaned and committed yours. Please test and report. George
works for me.