basename: a faulty warning 'extra operand --test-name' in tests causes test-driver to fail
Vasiliy
testtest_2005@ukr.net
Fri Jul 12 19:26:00 GMT 2013
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
More information about the Cygwin
mailing list