[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spy.test in 1.9.3 release under solaris
From: |
Alexandre Duret-Lutz |
Subject: |
Re: spy.test in 1.9.3 release under solaris |
Date: |
Tue, 09 Nov 2004 22:53:27 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "Andy" == Andy Shelley <address@hidden> writes:
[...]
| make: `a' is up to date.
| + cat a
| + test =
| + sleep 2
| + touch b
| + make -d
[...]
| Considering target file `a'.
| Considering target file `b'.
[...]
| No need to remake target `b'.
| Finished prerequisites of target file `a'.
| Prerequisite `b' is newer than target `a'.
| Must remake target `a'.
| echo rule1 >> a
[...]
| Successfully remade target file `a'.
| Considering target file `a'.
| Considering target file `c'.
[...]
| No need to remake target `c'.
| Finished prerequisites of target file `a'.
| Prerequisite `c' is older than target `a'.
| No need to remake target `a'.
| Pruning file `a'.
| + cat a
| + test rule1 = rule1
So far so good.
| + :
| + sleep 2
| + touch c
| + make -d
[...]
| Considering target file `a'.
| Considering target file `b'.
[...]
| No need to remake target `b'.
| Finished prerequisites of target file `a'.
| Prerequisite `b' is older than target `a'.
| No need to remake target `a'.
| Considering target file `a'.
| Considering target file `c'.
[...]
| No need to remake target `c'.
| Finished prerequisites of target file `a'.
| Prerequisite `c' is older than target `a'.
| No need to remake target `a'.
| Pruning file `a'.
| make: `a' is up to date.
| + cat a
| + test = rule2
That's fishy. Because of the `sleep 2; touch c' above, c should
be at least 2 second newer than `a'. So why does make claim
"Prerequisite `c' is older than target `a'."? Why did the same
test succeeded with `b' just before? Sorry I can't make any
sense of this.
What is the resolution of the date on your file system? Could
you check the precise mtime of tests/testSubDir/{a,b,c} after
the test has failed?
--
Alexandre Duret-Lutz
- spy.test in 1.9.3 release under solaris, Andy Shelley, 2004/11/05
- Re: spy.test in 1.9.3 release under solaris, Alexandre Duret-Lutz, 2004/11/06
- Re: spy.test in 1.9.3 release under solaris, Andy Shelley, 2004/11/08
- Re: spy.test in 1.9.3 release under solaris, Alexandre Duret-Lutz, 2004/11/09
- Re: spy.test in 1.9.3 release under solaris, Andy Shelley, 2004/11/09
- Re: spy.test in 1.9.3 release under solaris,
Alexandre Duret-Lutz <=
- Re: spy.test in 1.9.3 release under solaris, Andy Shelley, 2004/11/09
- Re: spy.test in 1.9.3 release under solaris, Mark D. Baushke, 2004/11/09
- Re: spy.test in 1.9.3 release under solaris, Alexandre Duret-Lutz, 2004/11/09
- Re: spy.test in 1.9.3 release under solaris, Andy Shelley, 2004/11/10
- Re: spy.test in 1.9.3 release under solaris, Andy Shelley, 2004/11/11
- Re: spy.test in 1.9.3 release under solaris, Alexandre Duret-Lutz, 2004/11/11