Bug 4786

Summary: fribidi-0.10.7 make check fails on Win32 cygwin
Product: FriBidi Reporter: Martin Thurn <mthurn>
Component: generalAssignee: Behdad Esfahbod <freedesktop>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: here is the Hebrew test output
here is the implicit test output
here is the explicit test output

Description Martin Thurn 2005-10-16 12:03:06 UTC
Hi Behdad, I tried to build 0.10.7 on WinXP with the latest cygwin.  How do I 
get more details on why tests are failing?  Configure and make went fine...

C:\DOCUMENTS\MARTIN\Tasc\Arabic\fribidi-0.10.7>make check
make  check-TESTS
make[1]: Entering directory `/cygdrive/c/DOCUMENTS/MARTIN/Tasc/Arabic/fribidi-0.
10.7'
FAIL: run.tests
=======================================
1 of 1 tests failed
Please report to http://fribidi.org/bug
=======================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/cygdrive/c/DOCUMENTS/MARTIN/Tasc/Arabic/fribidi-0.1
0.7'
make: *** [check-am] Error 2
Comment 1 Martin Thurn 2005-10-16 12:04:16 UTC
Created attachment 3566 [details]
here is the Hebrew test output
Comment 2 Martin Thurn 2005-10-16 12:04:54 UTC
Created attachment 3567 [details]
here is the implicit test output
Comment 3 Martin Thurn 2005-10-16 12:05:16 UTC
Created attachment 3568 [details]
here is the explicit test output
Comment 4 Behdad Esfahbod 2005-10-23 22:52:47 UTC
Thanks Martin.
In fact this is a known issue.  The tests fail because of newline issues. 
Latest diffutils accepts --strip-trailing-cr, but not earlier versions, so I'm
not quite sure how to fix this.

To see what's going on, try running make test instead of make check.  What
happens is that they both run the script runtests.sh, so you can get into the
script yourself.  If your diff doesn't accept --strip-trailing-cr, try passing
-w to ignore whitespace.

Let me know if you have any suggestion for a fix.
Comment 5 Carlo Bramini 2010-03-25 08:18:21 UTC
I was not able to reproduce this problem.
I had the problem under MinGW but Cygwin was not affected during my tests.
See also bug #27310

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.