[elephant-devel] bugs in tests
Alex Mizrahi
alex.mizrahi at gmail.com
Wed Sep 14 12:30:58 UTC 2011
It turns out that for compatibility with RT deftest we redefine
5am:finishes (not shadowing it) into something which is supposed to work
with deftest -- it returns NIL if there was error and T otherwise.
There are three problems with it:
1. if `finishes` is in a middle of deftest its output is ignored, i.e.
it is OK even if there was an ERROR.
2. it just doesn't work in 5am:test, even if you spelled it 5am:finishes
3. And the worst part is that it eats CONDITION as if test was
successful. And there are conditions which are worse than errors: memory
corruption, etc.
And this is what happened with inhibit-rollback test -- it crashes CCL
and makes SBCL signaling memory error.
Besides that, it turns out that cached-test-inherit-ok part of
caching-style-required did not work, i.e. :cache-style is not inherited.
More information about the elephant-devel
mailing list