bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] test-linkat: avoid failed assertion on "other" architectures


From: Bruno Haible
Subject: Re: [PATCH] test-linkat: avoid failed assertion on "other" architectures
Date: Fri, 11 Jun 2010 10:45:29 +0200
User-agent: KMail/1.9.9

Jim Meyering wrote:
> This is a strong argument for enabling -Werror when compiling tests.
> Even on Fedora 13, these warnings have been flying by:

The problem is catching the developer's attention, when some compilation
produces tons of output. The use of automake's options 'silent-rules' and
'color-tests' are steps in this direction.

The trick that I use is a script that shows me the differences between
the last run and the current run of a command. So, in my working directories,
I normally don't run "./configure" and "make" any more, but
"./rerun-configure" and "./rerun-make", which are tiny scripts:

  ===================== rerun-configure ========================
  #!/bin/sh
  rerun ./configure --prefix=/arch/x86-linux/gnu CPPFLAGS=-Wall 
--disable-shared --enable-static
  ==============================================================

  ====================== rerun-make ===========================
  #!/bin/sh
  rerun make
  =============================================================

Enabling -Werror would only help for "make"'s output, not for "configure"'s
output.

Bruno

Attachment: rerun
Description: application/shellscript


reply via email to

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