[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Test egg question
From: |
Alex Shinn |
Subject: |
Re: [Chicken-users] Test egg question |
Date: |
Mon, 5 Nov 2007 14:15:51 +0900 |
> On Nov 4, 2007 12:02 AM, Peter Busser <address@hidden> wrote:
> >
> > I'm writing a number of test cases using the test egg. I would like to use
> > the test program for automated testing. Is it possible to know that one of
> > the tests failed, so I can exit the program with an error value?
OK, I just checked in a test-exit procedure:
(test-exit [<failure-code>])
which exits the process with 0 if all tests have passed,
and the optional exit code (default 1) if there have been
any errors at all.
--
Alex