bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH]: Missing tests-base in gnulib-cache.m4


From: Paolo Bonzini
Subject: Re: [PATCH]: Missing tests-base in gnulib-cache.m4
Date: Thu, 25 Sep 2008 12:43:05 +0200
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

> - After generating the autotools build system, doing 'make check' will
> result in the following error (only when cross compiling for Win32
> systems):

"make check" does not work for Windows crosses because check-TESTS
depends on $(TESTS), which includes "test-allocaopt".  So make attempts
to make it instead of "test-allocaopt.exe".  I think that under native
configurations make attempts to add the ".exe" automatically, but I am
not sure of that.

It should be possible to fix this with a

sed -i '/^TESTS/ s/\(test-[-a-z0-9_]*\)\( \|$\)/\1$(EXEEXT)\2/g' *-tests

command in the modules directory (yes, tested).  It still wouldn't fix
the fact that tests need to be invoked with Wine, though.

Paolo




reply via email to

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