[GiNaC-list] GiNaC on MinGW : make check--test failed

Richard B. Kreckel kreckel at ginac.de
Wed Feb 27 17:42:45 CET 2008


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/>


More information about the GiNaC-list mailing list