[haiku-development] Re: unit test

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 29 May 2011 10:21:43 +0200

Clemens <clemens.zeidler@xxxxxxxxxxxxxx> wrote:
> On Sat, 28 May 2011 08:28:51 +1200, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
> >
> wrote:
> > Theoretically, you would build UnitTester, and libapptest.so.
> > Unfortunately, the latter currently doesn't compile; you could try
> > it
> > with libnetapitest.so to get started. If you are using GCC4, you
> > can
> > then directly start the UnitTester -- with GCC2 some bug hits you,
> > and
> > you'll have to manually provide the path to the test libs.
> Could you send me the entries for the UserBuildConfig? The test suite
> is
> running now but I haven't installed all the test apps and I'm not
> sure how
> to trigger their build...

I don't have any related entries - I'm building it manually when needed.
$ jam libapptest.so libnetapitest.so
will do the trick; they are installed in the correct directory
automatically. IIRC you'll have to manually install libcppunit.so into
your path, though.

Bye,
   Axel.


Other related posts: