[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Autobuild-discuss] Re: Autobuild, libcheck and build status
From: |
Simon Josefsson |
Subject: |
[Autobuild-discuss] Re: Autobuild, libcheck and build status |
Date: |
Sun, 04 Jul 2010 16:45:23 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
"Jose E. Marchesi" <address@hidden> writes:
> Hi Simon.
>
> I am using the little patch below to make autobuild to detect failures
> in the running of the tests of libgnupdf. It shall work for any
> project using libcheck.
Hi Jose! Thanks, I have pushed it and released autobuild 5.3 with it.
/Simon
...
> diff --git a/ChangeLog b/ChangeLog
> index 364e27a..b50a009 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,8 @@
> +2010-06-29 Jose E. Marchesi <address@hidden>
> +
> + * autobuild: Self tests included for libcheck
> + tests execution. http://check.sf.net
> +
> 2009-09-18 Simon Josefsson <address@hidden>
>
> * build-aux/gendocs.sh: Chmod.
> diff --git a/autobuild b/autobuild
> index 5ee1258..874675a 100755
> --- a/autobuild
> +++ b/autobuild
> @@ -176,6 +176,10 @@ foreach $arg (@ARGV) {
> $status = "ok" if !$status && m,1 test passed,;
> $status = "almost" if m,\d+ of \d+ tests failed,;
>
> + # libcheck self tests.
> + $status = "almost" if !$status && m,Errors: [1-9]+,;
> + $status = "almost" if!$status && m,Failures: [1-9]+,;
> +
> # Dejagnu self tests.
> $status = "ok" if !$status && m,^# of expected ,;
> $status = "almost" if m,# of unexpected ,;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Autobuild-discuss] Re: Autobuild, libcheck and build status,
Simon Josefsson <=