Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5603 - New ebuild for the cppunit unit testing library.
Summary: New ebuild for the cppunit unit testing library.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-26 05:16 UTC by Darke
Modified: 2002-11-27 19:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The ebuild. (cppunit-1.8.0.ebuild,2.37 KB, text/plain)
2002-07-26 05:17 UTC, Darke
Details
dev-util/cppunit/cppunit-1.8.0.ebuild (cppunit-1.8.0.ebuild,950 bytes, text/plain)
2002-10-30 17:23 UTC, Jeffrey Palmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darke 2002-07-26 05:16:24 UTC
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*
Comment 1 Darke 2002-07-26 05:17:33 UTC
Created attachment 2598 [details]
The ebuild.
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2002-10-29 19:15:21 UTC
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
Comment 3 Jeffrey Palmer 2002-10-30 17:22:18 UTC
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! 
 
Comment 4 Jeffrey Palmer 2002-10-30 17:23:28 UTC
Created attachment 5223 [details]
dev-util/cppunit/cppunit-1.8.0.ebuild
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2002-11-01 19:28:55 UTC
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
Comment 6 Jeffrey Palmer 2002-11-02 09:11:51 UTC
works for me.