[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Re: New salmonella features
From: |
Mario Domenech Goulart |
Subject: |
[Chicken-users] Re: New salmonella features |
Date: |
Tue, 04 Jan 2011 07:31:13 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
Hi
On Sun, 24 Oct 2010 12:26:24 -0400 Mario Domenech Goulart <address@hidden>
wrote:
> Salmonella 1.17, running on tests.call-cc.org, has some new features.
> It now checks for missing wiki documentation for eggs and execute egg
> tests. See http://tests.call-cc.org/2010/10/24/salmonella-report/ for
> the new report format.
>
> Regarding to tests: salmonella determines whether tests fail or succeed
> by reading the exit status of the tests/run.scm script. A 0 exit status
> indicates success. Anything different represents failure.
>
> So, if your eggs have tests/run.scm, please set the exit code
> accordingly.
>
> For those using the test egg (http://wiki.call-cc.org/eggref/4/test),
> here's a simple trick to set the exit status according to the existence
> of test failures:
>
> (unless (zero? (test-failure-count)) (exit 1))
>
> You can just copy&paste the line above to the end of your tests/run.scm
> script (if you are using the test egg).
Jim pointed that there is `test-exit' which does the same trick. So,
all you need is
(test-exit)
at the end of your test scripts.
> Notice that if your tests use eggs which are not requirements for the
> egg itself, you should list them in `test-depends' (it is just like
> `needs' and `depends', but specific to tests). Several eggs currently
> fail because they rely on the availability of eggs which are not
> installed.
>
> The new salmonella also contains a section for warning messages. It
> currently warns about eggs which declare a version that doesn't match
> the directory tag.
Best wishes.
Mario
--
http://parenteses.org/mario
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] Re: New salmonella features,
Mario Domenech Goulart <=