[Pixman] [PATCH 3/7] Extend gradient-crash-test

Jon TURNEY jon.turney at dronecode.org.uk
Sat Dec 18 10:34:44 PST 2010


On 14/12/2010 20:02, Søren Sandmann wrote:
> From: Søren Sandmann Pedersen <ssp at redhat.com>
> 
> Test the gradients with various transformations, and test cases where
> the gradients are specified with two identical points.
> ---
>  test/Makefile.am           |    5 ++-
>  test/gradient-crash-test.c |  124 +++++++++++++++++++++++++++++--------------
>  2 files changed, 87 insertions(+), 42 deletions(-)

> diff --git a/test/gradient-crash-test.c b/test/gradient-crash-test.c
> index 804f83b..395c469 100644
> --- a/test/gradient-crash-test.c
> +++ b/test/gradient-crash-test.c
> @@ -1,6 +1,7 @@
>  #include <stdio.h>
>  #include <stdlib.h>
> -#include "pixman.h"
> +#include <fenv.h>
> +#include "utils.h"

This seems to have a stray #include <fenv.h>, which causes compilation to fail
when fenv.h doesn't exist, see [1].

Trivial patch to fix attached.

[1] http://tinderbox.freedesktop.org/builds/2010-12-18-0013/logs/pixman/#build
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Remove-stray-include-fenv.h.patch
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20101218/a5658567/attachment.ksh>


More information about the Pixman mailing list