[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
From: |
Stefano Lattarini |
Subject: |
Re: parallel-tests: work around Tru64/OSF 5.1 sh read bugs. |
Date: |
Sun, 16 Jan 2011 14:37:55 +0100 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
On Sunday 16 January 2011, Ralf Wildenhues wrote:
> Quoting:
> http://autobuild.josefsson.org/automake/log-201101150748140530000.txt
>
> | FAIL: parallel-tests9.test (exit: 1)
> | ====================================
> |
> |
> /tmp/am/build-alphaev67-dec-osf5.1/tests:/tmp/local/alphaev67-dec-osf5.1/bin:/tmp/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/opt/svr4/bin:/etc:/usr/etc:/usr/dt/bin:/usr/bin/X11:/usr/ucb
> | + set -e
> | + pwd
> | /tmp/am/build-alphaev67-dec-osf5.1/tests/parallel-tests9.dir
> | + cat
> | + cat
> | + cat
> | + cat
> | + cat
> | + chmod a+x foo.test bar.test baz.test
> | + aclocal-1.11a -Werror
> | + autoconf
> | + automake-1.11a --foreign -Werror -Wall -a
> | + ./configure
> | checking for a BSD-compatible install... ./install-sh -c
> | checking whether build environment is sane... yes
> | checking for a thread-safe mkdir -p... ./install-sh -c -d
> | checking for gawk... no
> | checking for mawk... no
> | checking for nawk... nawk
> | checking whether make sets $(MAKE)... yes
> | checking that generated files are newer than configure... done
> | configure: creating ./config.status
> | config.status: creating Makefile
> | + make check
> |
> | Stop.
> |
> | Stop.
> |
> | Stop.
> | + cat stdout
> | make bla
> | echo bla > bla
> | make check-TESTS
> | PASS: foo.test
> | FAIL: bar.test
> | FAIL: baz.test
> | ===================
> | 2 of 3 tests failed
> | See ./mylog.log
> | ===================
> | *** Exit 1*** Exit 1*** Exit 1+ make recheck
> |
> | Stop.
> |
> | Stop.
> |
> | Stop.
> |
> | Stop.
> | + cat stdout
> | make TEST_LOGS="bar.log baz.log" bla
> | `bla' is up to date.
> | make TEST_LOGS="bar.log baz.log" check-TESTS
> | FAIL: bar.test
> | FAIL: baz.test
> | ===================
> | 2 of 2 tests failed
> | See ./mylog.log
> | ===================
> | *** Exit 1*** Exit 1*** Exit 1*** Exit 1+ grep foo.test stdout
> | + grep bar.test stdout
> | FAIL: bar.test
> | + grep baz.test stdout
> | FAIL: baz.test
> | + grep 2 of 2.*failed stdout
> | 2 of 2 tests failed
> | + chmod a-r foo.log
> | + test ! -r foo.log
> | + make recheck
> | sh: foo.log: cannot open
> | + cat stdout
> | make TEST_LOGS="" bla
> | `bla' is up to date.
> | make TEST_LOGS="" check-TESTS
> | ==================
> | All 0 tests passed
> | ==================
> | + Exit 1
>
>
> This is due to this portability issue:
> http://thread.gmane.org/gmane.comp.sysutils.autoconf.patches/7522
>
> Here's a patch to fix the instances I could find in the Automake tree.
> Unfortunately, I don't see an easy way to expose the first two hunks in
> check.am, they would require making a log unreadable between the test
> running and the summary generation.
>
What about the attached testcase? Unfortunately, I cannot really test
it because I lack access to a Tru64/OSF 5.1 system.
Regards,
Stefano
parallel-tests-unreadable-log.test
Description: application/shellscript