[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT.
From: |
Jim Meyering |
Subject: |
Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT. |
Date: |
Wed, 13 Jan 2010 21:57:12 +0100 |
Eric Blake wrote:
> According to Jim Meyering on 1/13/2010 3:19 AM:
>> I didn't account for that use case.
>> I wonder if there is some way to write/use a command-not-found
>> handler to automate the error-prone "add-$EXE-suffix" at run-time.
>>
>> If at all possible, I would like to avoid the invasive change
>> of adding the $EXE suffix to every just-built-binary invocation
>> in every test script.
>
> mingw and cygwin handle it just fine, but my reading (although not my
> experience) seems to imply that BeOS requires the .exe suffix. Wine is
> another case where the suffix is (currently) important. But I do agree
> that it would be much nicer if wine could do things automatically rather
> than appending EXE in all of gnulib.
>
>> If the $EXE suffix is not required in that particular case,
>> an alternative would be to create a temporary directory, D,
>> and populate it with links of the form program ->../.../program.exe
I meant program.exe -> .../original
or program.exe as a copy of the original.
>> (or simply copies, if ln isn't an option) and then prepend "D:" to PATH.
- [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Simon Josefsson, 2010/01/12
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Bruno Haible, 2010/01/12
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Simon Josefsson, 2010/01/13
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Jim Meyering, 2010/01/13
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Eric Blake, 2010/01/13
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT.,
Jim Meyering <=
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Jim Meyering, 2010/01/14
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Simon Josefsson, 2010/01/14
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Eric Blake, 2010/01/14
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Jim Meyering, 2010/01/14
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Eric Blake, 2010/01/14
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Ralf Wildenhues, 2010/01/16
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Bruno Haible, 2010/01/13
- Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT., Simon Josefsson, 2010/01/14