bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake 1.8 testsuite race condition


From: Richard Dawe
Subject: Re: Automake 1.8 testsuite race condition
Date: Thu, 22 Jan 2004 21:23:34 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031031

Hello.

Andreas Schwab wrote:
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

Please use $sleep, to cope with the weird granularity of timestamps on Windows '9x. See tests/defs for the definition of the sleep variable.

 cd ..
 cp foo/foo.l foo/foo2.l
 cat >> Makefile.am << 'END'


Bye, Rich =]

--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]

"You can't evaluate a man by logic alone."
  -- McCoy, "I, Mudd", Star Trek





reply via email to

[Prev in Thread] Current Thread [Next in Thread]