Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosstorage] || [Date Prev] [05-2002 Date Index] [Date Next] || [Thread Prev] [05-2002 Thread Index] [Thread Next]

[openbeosstorage] Re: BResources

  • From: Tyler Dauwalder <tyler@xxxxxxxxxxxxx>
  • To: openbeosstorage@xxxxxxxxxxxxx
  • Date: Sun, 12 May 2002 01:20:15 -0700
> I finally decided rather to add test files (in test/resources).
> It's just not sure, that the files I would have chosen would be identical
> on all installations the tests might run on; future ones (e.g. OBOS R1
> alpha) in particular. Now I have a set of files of four different flavors
> (ELF, PEF, x86 and PPC resource files) with well-defined resources. That
> made writing the tests easier.

Oooo, that's a good point. That's definitely a better plan.

> PS: I added the targets `r5' and `posix' to test/Jamfile. These are quite
>     handy when writing tests -- then you usually want to compile only the
>     R5 test app -- and when testing the OBOS implementation -- then one
>     is merely interested on compiling the other version.

Nice. 

>     Furthermore I added the method TestShell::TestDir() that returns the
>     path of the directory the test application lives in. This was
>     necessary to locate the new test files.

That should be handy as well.

-Tyler





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.