[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Automake 1.8 testsuite race condition
From: |
Andreas Schwab |
Subject: |
Automake 1.8 testsuite race condition |
Date: |
Wed, 21 Jan 2004 23:37:39 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
The lex5 test can fail spuriously on fast machines, because the two
modifications to Makefile.am can occur in the same second, and the
filesystem may not have a finer precision for time stamps.
Andreas.
2004-01-21 Andreas Schwab <address@hidden>
* tests/lex5.test: Sleep for one second before modifying
Makefile.am again.
--- tests/lex5.test 2004/01/16 23:51:50 1.1
+++ tests/lex5.test 2004/01/16 23:53:09
@@ -74,6 +74,7 @@ test -f foo/foo.o
# Now, adds another lexer to test ylwrap.
+sleep 1
cd ..
cp foo/foo.l foo/foo2.l
cat >> Makefile.am << 'END'
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Automake 1.8 testsuite race condition,
Andreas Schwab <=