Test failure in current cvs make

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Test failure in current cvs make

Art Haas
Hi.

I'm seeing a failure in one of the new '-W' tests:

*** work/options/dash-W.base.6  Mon Jun 27 06:48:42 2005
--- work/options/dash-W.log.6   Mon Jun 27 06:48:42 2005
***************
*** 1,4 ****
  restarts=
  touch foo.x
- restarts=1
  touch baz.x
--- 1,3 ----

I'm building on i586-pc-linux-gnu, a 2.6.12 kernel, and the machine is
running on an up-to-date Debian distro. The failure occurs if make is
built with Debian's 'gcc-3.4' package as well as the latest CVS GCC
build.

Thanks.

Art Haas
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


_______________________________________________
Bug-make mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-make
Reply | Threaded
Open this post in threaded view
|

Re: Test failure in current cvs make

Paul Smith-20
%% "Art Haas" <[hidden email]> writes:

  ah> I'm seeing a failure in one of the new '-W' tests:

  ah> *** work/options/dash-W.base.6  Mon Jun 27 06:48:42 2005
  ah> --- work/options/dash-W.log.6   Mon Jun 27 06:48:42 2005
  ah> ***************
  ah> *** 1,4 ****
  ah>   restarts=
  ah>   touch foo.x
  ah> - restarts=1
  ah>   touch baz.x
  ah> --- 1,3 ----

  ah> I'm building on i586-pc-linux-gnu, a 2.6.12 kernel, and the
  ah> machine is running on an up-to-date Debian distro. The failure
  ah> occurs if make is built with Debian's 'gcc-3.4' package as well as
  ah> the latest CVS GCC build.

Hm.  This seems timing related.  Sometimes it prints the restarts=1 and
sometimes it doesn't; apparently if the two tests run quickly enough it
doesn't restart.

I'm not sure why that is, though: -W should be newer than anything all
the time.  Hm.  Maybe it's the foo.x which is not new enough.

Let me look again.

--
-------------------------------------------------------------------------------
 Paul D. Smith <[hidden email]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-make
Reply | Threaded
Open this post in threaded view
|

Re: Test failure in current cvs make

Paul Smith-20
In reply to this post by Art Haas
Yeah, it's a timing thing on foo.x, not related to -W.

foo.x is always rebuilt when -W bar.x is given, which is correct.
However, sometimes (if the original file and its update happen too
quickly) make doesn't see that the timestamp on the file changed and so
it doesn't believe that it needs to re-exec.

I'll have to fix that test.

--
-------------------------------------------------------------------------------
 Paul D. Smith <[hidden email]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-make
Reply | Threaded
Open this post in threaded view
|

Re: Test failure in current cvs make

Art Haas
On Mon, Jun 27, 2005 at 02:25:37PM -0400, Paul D. Smith wrote:
> Yeah, it's a timing thing on foo.x, not related to -W.
>
> foo.x is always rebuilt when -W bar.x is given, which is correct.
> However, sometimes (if the original file and its update happen too
> quickly) make doesn't see that the timestamp on the file changed and so
> it doesn't believe that it needs to re-exec.
>
> I'll have to fix that test.
>

I've updated my build and the 'make check' runs without errors.

Art
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


_______________________________________________
Bug-make mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-make