This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail


Sorry. Please read as: "However, there's likely an issue
with Automake's 'test-driver' not recognizing '--log-file' option."

BZW, it was obvious from my first post that I've made a typo.

On Fri, 12 Jul 2013 15:26:15 -0400 Christopher Faylor wrote:
>
>> On Fri, Jul 12, 2013 at 09:21:40PM +0200, Vasiliy wrote:
>> Marco, you're right, it's the problem in their 'run_tests' file, I've
>> got baffled due to a lack of time. However, there's likely an issue
>> with Automake not recognizing '--log-file' option, but it's another
>> story.
>
> automake doesn't have a --log-file option.  I can't really imagine what
> it would do.

On Fri, Jul 12, 2013 at 9:21 PM, Vasiliy <testtest_2005@ukr.net> wrote:
> Marco, you're right, it's the problem in their 'run_tests' file, I've
> got baffled due to a lack of time. However, there's likely an issue
> with Automake not recognizing '--log-file' option, but it's another
> story.
>
>
>> On Fri, 12 Jul 2013 18:18:06 +0200 marco atzeri wrote:
>>
>> basename has no testname options. So I do not understand why
>> it should be a basename problem...
>>
>> specially as it is the same on linux
>> http://linux.die.net/man/1/basename
>>
>> not clear to me what is aborting
>> could you clarify ?
>>
>> Regards
>> Marco
>
> On Fri, Jul 12, 2013 at 5:25 PM, Vasiliy <testtest_2005@ukr.net> wrote:
>> Hello,
>>
>> When trying to 'make check' Open MPI from the SVN sources I observe
>> the following issue with 'basename' from 'coreutils' Cygwin package:
>>
>> basename: extra operand `--test-name'
>> Try `basename --help' for more information.
>> --> Testing
>> test-driver: line 95:  <PID> Aborted                 (core dumped)
>> "$@" > $log_file 2>&1
>>
>> and upon investigating:
>> $ /usr/share/automake-1.14/test-driver --help
>> Usage:
>>   test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
>>               [--expect-failure={yes|no}] [--color-tests={yes|no}]
>>               [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
>> The '--test-name', '--log-file' and '--trs-file' options are mandatory.
>> <code>
>> make  check-TESTS
>> make[1]: Entering directory
>> '/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/test/asm'
>> make[2]: Entering directory
>> '/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/test/asm'
>> basename: extra operand `--test-name'
>> Try `basename --help' for more information.
>> --> Testing
>> basename: extra operand `--test-name'
>> Try `basename --help' for more information.
>> --> Testing
>> basename: extra operand `--test-name'
>> Try `basename --help' for more information.
>> --> Testing
>> basename: extra operand `--test-name'
>> Try `basename --help' for more information.
>> --> Testing
>>  ...
>>
>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/config/test-driver:
>> line 95:  <PID> Segmentation fault      (core dumped) "$@" > $log_file
>> 2>&1
>> </code>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]