bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT.


From: Simon Josefsson
Subject: Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT.
Date: Wed, 13 Jan 2010 09:56:37 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Simon Josefsson wrote:
>> diff --git a/tests/test-xalloc-die.sh b/tests/test-xalloc-die.sh
>> index 03bad60..80d6208 100755
>> --- a/tests/test-xalloc-die.sh
>> +++ b/tests/test-xalloc-die.sh
>> @@ -18,7 +18,7 @@
>>  
>>  . "${srcdir=.}/init.sh"; path_prepend_ .
>>  
>> -test-xalloc-die 2> err > out
>> +test-xalloc-die${EXEEXT} 2> err > out
>>  case $? in
>>    1) ;;
>>    *) Exit 1;;
>
> Under which circumstances is this needed? Jim said in [1]:
>   "there's no more need for the $EXE suffix,
>    since we're using PATH."

Is PATH sufficient for cross-compiled MinGW?  Anyway here is how to
trigger the problem:

address@hidden:~/src/gnulib master$ rm -rf m && gnulib-tool --create-testdir 
--dir m --with-tests pread && cd m && ./configure --host=i586-mingw32msvc 
--build=i686-pc-linux-gnu && make check
...
./test-pread.sh: line 5: test-pread: command not found
FAIL: test-pread.sh

/Simon




reply via email to

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