27 Feb
2008
27 Feb
'08
5:42 p.m.
Dear all! Alexei Sheplyakov wrote:
On Wed, Feb 27, 2008 at 04:54:56PM +0900, Tatsuro MATSUOKA wrote:
So, every test passed, but the whole thing failed. That's very interesting. Could you please post the check/exams.out file?
The problem is due to different end of line markers -- LF (*NIX) versus CR,LF (window$). exams.ref file shipped with GiNaC has (obviously) *NIX ones, while exams.out ends up with CRLF. Thus, the output of the test differs from the reference one, hence the (false) failure.
Aha! (Interesting this hasn't been reported earlier.)
I'll change the tests to report errors with nonzero exit code.
Or pipe the program's output through |tr -d '\r' first? Best wishes -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>