[GiNaC-devel] [PATCH] check: indicate the test failures with non-zero exit code; split test programs.

Richard B. Kreckel kreckel at ginac.de
Mon Mar 3 20:46:05 CET 2008


Dear Alexei,

Alexei Sheplyakov wrote:
> IMNSHO parsing the output of test programs in order to check if the
> tests passed is a bad idea (and it causes *real* problems, see e.g.
> http://www.ginac.de/pipermail/ginac-list/2008-February/001345.html).
> It's much simpler and cleaner to indicate the failure in a genuine
> *NIX way: exit with nonzero code.

To explain: long time ago, some tests did output results which were 
checked by the testsuite for correctness using cmp/diff. That's 
delicate, due to the ordering, and better done using stringstreams 
anyway. So, yes, your patch should be applied...

...which brings me to the topic: I did a git pull from your repository 
but it's not in there. Well, probably uncommitted yet, I suppose.

When I last met Jens, he was eager to try out git, too. And we finally 
have git on www.ginac.de. Alexei, how would you propose to organize 
development? Set up a central repository or just advertise yours or 
Jens' for users who can't wait for the next release? That sounds easiest 
and we could just pick the one as "official" of who rolls the next 
release anyway, right? Jens, what do you think?

   -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>


More information about the GiNaC-devel mailing list