Re: how to run tests

2010-08-23 Thread Alexander Burger
Hi Edwin,

 i can't find anything on how to run tests that come with the source
 distribution. anybody has an URL or a clue how to do this?

Do you mean the unit tests residing in the test/ directory?

They are started via lib/test.l, with a somewhat special command
(written as a comment in the beginning of lib/test.l):

   $(/bin/pwd)/p lib/test.l -bye

This special path syntax for 'p' is necessary so that the functions
checking pathes and the current working directory return the expected
results.

When all goes well, OK is printed, otherwise an error handler is
entered:

   $ $(/bin/pwd)/p lib/test.l -bye
   OK

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: how to run tests

2010-08-23 Thread Edwin Eyan Moragas
Hi Alex,

On Mon, Aug 23, 2010 at 1:56 PM, Alexander Burger a...@software-lab.de wro=
te:
 Hi Edwin,

 i can't find anything on how to run tests that come with the source
 distribution. anybody has an URL or a clue how to do this?

 Do you mean the unit tests residing in the test/ directory?

yes.


 They are started via lib/test.l, with a somewhat special command
 (written as a comment in the beginning of lib/test.l):

 =A0 $(/bin/pwd)/p lib/test.l -bye

 This special path syntax for 'p' is necessary so that the functions
 checking pathes and the current working directory return the expected
 results.

 When all goes well, OK is printed, otherwise an error handler is
 entered:

 =A0 $ $(/bin/pwd)/p lib/test.l -bye
 =A0 OK

great. thank you. :)

more stuff to do for me. i want this to pass on openbsd. in due time. :)



 Cheers,
 - Alex
 --
 UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=3dunsubscribe

-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


how to run tests

2010-08-22 Thread Edwin Eyan Moragas
Hi all,

i can't find anything on how to run tests that come with the source
distribution. anybody has an URL or a clue how to do this?

thank you.

/e
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe