[haiku-development] Re: Unit test - How to get them on the image?

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 21 Aug 2008 22:41:15 +0200

On 2008-08-21 at 18:12:43 [+0200], Andreas Färber <andreas.faerber@xxxxxx> 
wrote:
> Am 21.08.2008 um 17:06 schrieb julun:
> 
> > since we have this fancy unit test framework in src/tests, how am I
> > supposed to get the thing on the image and run the tests? Let's say
> > i would like to run the tests in /src/tests/kits, how to do that.
> > What do i need to add to my UserBuildConfig and or etc...
> 
> For the POSIX test suite and libMicro there are Optional Packages
> defined (OptionalTestPackages). I guess the easiest would be to define
> additional packages there [...]

Yep, that would definitely be the way to go. The unit tests haven't really 
been maintained for years though, and the "Haiku" (at that time OpenBeOS) 
tests ran under BeOS using the Haiku libraries. It would be most 
appreciated, if someone would clean the stuff up and get the tests to run 
in Haiku properly.

CU, Ingo

Other related posts: