public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail
@ 2013-07-12 16:02 Vasiliy
  2013-07-12 16:25 ` marco atzeri
  2013-07-12 19:26 ` Vasiliy
  0 siblings, 2 replies; 6+ messages in thread
From: Vasiliy @ 2013-07-12 16:02 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail
  2013-07-12 16:02 basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail Vasiliy
@ 2013-07-12 16:25 ` marco atzeri
  2013-07-12 19:26 ` Vasiliy
  1 sibling, 0 replies; 6+ messages in thread
From: marco atzeri @ 2013-07-12 16:25 UTC (permalink / raw)
  To: cygwin

Il 7/12/2013 5:25 PM, Vasiliy ha scritto:
> 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.

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


> --> Testing
> test-driver: line 95:  <PID> Aborted                 (core dumped)
> "$@" > $log_file 2>&1

not clear to me what is aborting
could you clarify ?

Regards
Marco



--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail
  2013-07-12 16:02 basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail Vasiliy
  2013-07-12 16:25 ` marco atzeri
@ 2013-07-12 19:26 ` Vasiliy
  2013-07-12 20:24   ` Christopher Faylor
  2013-07-13  7:51   ` Vasiliy
  1 sibling, 2 replies; 6+ messages in thread
From: Vasiliy @ 2013-07-12 19:26 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail
  2013-07-12 19:26 ` Vasiliy
@ 2013-07-12 20:24   ` Christopher Faylor
  2013-07-13  7:51   ` Vasiliy
  1 sibling, 0 replies; 6+ messages in thread
From: Christopher Faylor @ 2013-07-12 20:24 UTC (permalink / raw)
  To: cygwin

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.

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail
  2013-07-12 19:26 ` Vasiliy
  2013-07-12 20:24   ` Christopher Faylor
@ 2013-07-13  7:51   ` Vasiliy
  2013-07-14 16:31     ` Vasiliy
  1 sibling, 1 reply; 6+ messages in thread
From: Vasiliy @ 2013-07-13  7:51 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail
  2013-07-13  7:51   ` Vasiliy
@ 2013-07-14 16:31     ` Vasiliy
  0 siblings, 0 replies; 6+ messages in thread
From: Vasiliy @ 2013-07-14 16:31 UTC (permalink / raw)
  To: cygwin

I'm happy to provide you with an update on 'extra operand --test-name'
occasionally being fed to 'basename' by some testsuites, which was
fixed by Automake maintainers:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14840

On Fri, Jul 12, 2013 at 11:19 PM, Vasiliy <testtest_2005@ukr.net> wrote:

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-14  7:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12 16:02 basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail Vasiliy
2013-07-12 16:25 ` marco atzeri
2013-07-12 19:26 ` Vasiliy
2013-07-12 20:24   ` Christopher Faylor
2013-07-13  7:51   ` Vasiliy
2013-07-14 16:31     ` Vasiliy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).