[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cygwin build report on Windows XP

From: Bruno Haible
Subject: Re: Cygwin build report on Windows XP
Date: Tue, 12 Jan 2010 23:28:14 +0100
User-agent: KMail/1.9.9

Hi Simon,

> The tests that failed were:
> file_has_acl("tmpdir0") returned yes, expected no
> FAIL: test-file-has-acl.sh

This is normal and expected. In Cygwin 1.5.x, setacl and chown don't
harmonize: if a program calls setacl after chown, the permissions are
wrong, and if the program calls chown after setacl, the ACL is wrong.
I don't know how to copy an ACL *and* the permission bits of a file
to another file.

> Starting test_cond .../bin/sh: line 5:  3124 Aborted                 (core 
> dumped)
> FAIL: test-cond.exe
> Starting test_lock .../bin/sh: line 5:  1336 Aborted                 (core 
> dumped)
> FAIL: test-lock.exe
> Starting test_tls .../bin/sh: line 5:  3444 Aborted                 (core 
> dumped)
> FAIL: test-tls.exe

The pthread implementation is apparently broken on Cygwin, see
<http://cygwin.com/ml/cygwin/2009-08/msg00283.html>. I have added some
code to m4/threadlib.m4 that disables threads on Cygwin 1.5.x by default.
So, for me, the results are:

  SKIP: test-cond.exe

  Skipping test: multithreading not enabled
  SKIP: test-lock.exe

  Skipping test: multithreading not enabled
  SKIP: test-tls.exe

[Oops, 'test-cond' should display the reason why the test is being skipped.]

What's the result of "uname -r" on your machine?

> cannot create data file: No such file or directory
> FAIL: test-posix_spawn3.exe

Fixed as below.


2010-01-12  Bruno Haible  <address@hidden>

        * tests/test-cond.c (main): When skipping the test, show the reason.

--- tests/test-cond.c
+++ tests/test-cond.c
@@ -201,6 +201,7 @@ main ()
 main ()
+  fputs ("Skipping test: multithreading not enabled\n", stderr);
   return 77;

2010-01-12  Bruno Haible  <address@hidden>

        posix_spawn: Avoid test failure on Cygwin.
        * tests/test-posix_spawn3.c (DATA_FILENAME) [CYGWIN]: Use less risky
        Reported by Simon Josefsson.

*** tests/test-posix_spawn3.c.orig      Tue Jan 12 23:24:46 2010
--- tests/test-posix_spawn3.c   Tue Jan 12 23:24:15 2010
*** 42,47 ****
--- 42,52 ----
  #define CHILD_PROGRAM_FILENAME "test-posix_spawn3"
  #define DATA_FILENAME "t!#$%&'()*+,-;address@hidden|}~.tmp"
+ /* On Cygwin, '*' '?' '\\' '|' cannot be used in file names.  */
+ #if defined __CYGWIN__
+ # define DATA_FILENAME "t!#$%&'()+,-;address@hidden"
+ #endif
  static int
  parent_main (void)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]