automake
[Top][All Lists]
Advanced

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

Re: how to change the behaviour of "make check"?


From: Raja R Harinath
Subject: Re: how to change the behaviour of "make check"?
Date: Wed, 17 Sep 2003 21:10:26 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Hi,

Thien-Thi Nguyen <address@hidden> writes:

>    Date: Wed, 17 Sep 2003 14:07:17 -0600 (MDT)
>    From: Ireneusz SZCZESNIAK <address@hidden>
>
>    Yeah!  But still I want the output of "make check" to be clean.  When
>    a test fails, then I expect to see: "FAIL: test.sh".
>
> in this case the only thing i can suggest is to post-process the
> Makefile to change the "check-TESTS" target near the end to not check
> for failures.  you might offend purists, but anyway, this can be done
> like so:
>
>  ./configure
>  cp Makefile TMP
>  grep -v "^[  ]*test ...failed. -eq 0" TMP > Makefile
>  rm TMP
>  make

That seems a roundabout way to do it.  Just copy the check-TESTS rule
into your Makefile.am file, and automake won't generate its internal
rule.  You can customize your local copy of check-TESTS to your
heart's content.

- Hari
-- 
Raja R Harinath ------------------------------ address@hidden




reply via email to

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