Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/automake/files: automake-1.9.6-aclocal7-test-sleep.patch
Date: Mon, 24 Dec 2007 12:56:06
Message-Id: E1J6mqa-0005L1-4H@stork.gentoo.org
1 vapier 07/12/24 12:55:56
2
3 Added: automake-1.9.6-aclocal7-test-sleep.patch
4 Log:
5 Add fix from upstream for random aclocal7 test failure #197366 by Joe Millenbach.
6 (Portage version: 2.1.4_rc11)
7
8 Revision Changes Path
9 1.1 sys-devel/automake/files/automake-1.9.6-aclocal7-test-sleep.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/automake/files/automake-1.9.6-aclocal7-test-sleep.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/automake/files/automake-1.9.6-aclocal7-test-sleep.patch?rev=1.1&content-type=text/plain
13
14 Index: automake-1.9.6-aclocal7-test-sleep.patch
15 ===================================================================
16 http://bugs.gentoo.org/197366
17
18 commit 8952f7248c2637426bcf83d38f07a8b02124a06e
19 Author: Ralf Wildenhues <Ralf.Wildenhues@×××.de>
20 Date: Wed May 10 20:50:53 2006 +0000
21
22 * tests/aclocal7.test: Add `$sleep's between file touching
23 and automake resp aclocal+automake invocations, to ensure
24 they complete with a time stamp strictly later than the touched
25 file.
26
27 diff --git a/tests/aclocal7.test b/tests/aclocal7.test
28 index 787565c..f6d5e31 100755
29 --- a/tests/aclocal7.test
30 +++ b/tests/aclocal7.test
31 @@ -89,6 +89,7 @@ test `ls -1t sub/Makefile.in foo | sed 1q` = sub/Makefile.in
32 touch fragment.inc
33 $sleep
34 touch foo
35 +$sleep
36 $ACLOCAL -I m4
37 $AUTOMAKE --no-force
38 # Only ./Makefile.in should change.
39 @@ -101,6 +102,7 @@ grep README Makefile.in && exit 1
40 : > README
41 $sleep
42 touch foo
43 +$sleep
44 $AUTOMAKE --no-force
45 # Even if no dependency change, the content changed.
46 test `ls -1t Makefile.in foo | sed 1q` = Makefile.in
47 @@ -111,6 +113,7 @@ grep README Makefile.in
48 : > sub/Makefile.in
49 $sleep
50 touch foo
51 +$sleep
52 $ACLOCAL -I m4
53 $AUTOMAKE --no-force
54 # Only sub/Makefile.in should change.
55
56
57
58 --
59 gentoo-commits@g.o mailing list