coreutils
[Top][All Lists]
Advanced

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

[coreutils] testsuite worthless on cygwin


From: Eric Blake
Subject: [coreutils] testsuite worthless on cygwin
Date: Thu, 30 Dec 2010 13:57:10 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

Unfortunately, 'make check' is failing almost all of the tests on
cygwin.  Why?  Because init.sh uses find_exe_basenames_ to see whether
all .exe files are safe to install a shim function around, but [.exe
fails the test.  Meanwhile, create_exe_shims_ returns 1 rather than 0
(or 77) when skipping a directory, which makes path_prepend_ fail almost
every single test with the message 'something failed (above):
/path/to/coreutils/src)'.

I'm thinking that init.sh should skip problematic files (we're less
likely to be testing [ directly to have to worry about conflicts with
[.exe) rather than giving up on the entire directory.  Any other
opinions, or should I go ahead and propose a patch?

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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