mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-03-29 07:50:36 +02:00
test: fix include order for AIX, bug#89354
This commit is contained in:
parent
b0f3465d09
commit
e91ebe3dd0
41 changed files with 52 additions and 49 deletions
|
|
@ -23,8 +23,8 @@
|
|||
* Author: Owen Taylor <otaylor@redhat.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 100
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
* Author: Kristian Høgsberg <krh@redhat.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define WIDTH 16
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
* Author: Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "cairo-test.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
static cairo_test_draw_function_t draw;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Vladimir Vukicevic <vladimir@pobox.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 100
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
*
|
||||
* Author: Vladimir Vukicevic <vladimir@pobox.com>
|
||||
*/
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 100
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Vladimir Vukicevic <vladimir@pobox.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 100
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
* Author: Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "cairo-test.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
static void
|
||||
scale_by_two (double *x, double *y)
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Behdad Esfahbod <behdad@behdad.org>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 90
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Behdad Esfahbod <behdad@behdad.org>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 90
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Behdad Esfahbod <behdad@behdad.org>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 90
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
static const char *png_filename = "romedalen.png";
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
* Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define STEPS 16
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Kristian Høgsberg <krh@redhat.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define WIDTH 16
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
* Author: Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <cairo.h>
|
||||
|
|
@ -35,8 +37,6 @@
|
|||
#include <cairo-pdf.h>
|
||||
#endif
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
/* The PostScript and PDF backends are now integrated into the main
|
||||
* test suite, so we are getting good verification of most things
|
||||
* there.
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Owen Taylor <otaylor@redhat.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define WIDTH 16
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
* Uli Schlachter <psychon@znc.in>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define WIDTH 16
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "cairo-test.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
static cairo_test_status_t
|
||||
draw (cairo_t *cr, int width, int height)
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Vladimir Vukicevic <vladimir@pobox.com>
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "cairo-test.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#define CHECK_SUCCESS do { \
|
||||
if (status) { \
|
||||
|
|
|
|||
|
|
@ -23,12 +23,12 @@
|
|||
* Author: Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cairo.h>
|
||||
#include <cairo-pdf.h>
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
/* This test exists to test the various features of cairo-pdf.h.
|
||||
*
|
||||
* Currently, this test exercises the following function calls:
|
||||
|
|
|
|||
|
|
@ -29,13 +29,13 @@
|
|||
* Currently, this exercises several of pixman's scaling filters.
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <cairo.h>
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
static const char png_filename[] = "quad-color.png";
|
||||
|
||||
/* Draw an image scaled down, with antialiasing disabled */
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@
|
|||
* Author: Kristian Høgsberg <krh@redhat.com>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
@ -31,8 +33,6 @@
|
|||
|
||||
#include <cairo.h>
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#define WIDTH 32
|
||||
#define HEIGHT WIDTH
|
||||
|
||||
|
|
|
|||
|
|
@ -23,12 +23,12 @@
|
|||
* Author: Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cairo.h>
|
||||
#include <cairo-ps.h>
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
/* This test exists to test the various features of cairo-ps.h.
|
||||
*
|
||||
* Currently, this test exercises the following function calls:
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
* Chris Wilson <chris@chris-wilson.co.uk>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 90
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
* Chris Wilson <chris@chris-wilson.co.uk>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define PAT_WIDTH 170
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
* Fixed... just a stray free().
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
|
||||
static cairo_test_status_t
|
||||
draw (cairo_t *cr, int width, int height)
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
* Author: Owen Taylor <otaylor@redhat.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 40
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
* Author: Vladimir Vukicevic <vladimir@pobox.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 12
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
* Author: Owen Taylor <otaylor@redhat.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 12
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Behdad Esfahbod <behdad@behdad.org>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 200
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
/* Exhibits nasty behaviour with GS due as their /Interpolate implementation
|
||||
* does not function for rotated images. */
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 100
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Behdad Esfahbod <behdad@behdad.org>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define SIZE 140
|
||||
|
|
|
|||
|
|
@ -23,10 +23,11 @@
|
|||
* Author: Kristian Høgsberg <krh@redhat.com>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <cairo-svg.h>
|
||||
#include "cairo-test.h"
|
||||
|
||||
/* Test SVG clipping */
|
||||
|
||||
|
|
|
|||
|
|
@ -23,10 +23,11 @@
|
|||
* Author: Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <cairo-svg.h>
|
||||
#include "cairo-test.h"
|
||||
|
||||
/* Pretty boring test just to make sure things aren't crashing ---
|
||||
* no verification that we're getting good results yet.
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
* Author: Kristian Høgsberg <krh@redhat.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define WIDTH 16
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Owen Taylor <otaylor@redhat.com>
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include "cairo-test.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define WIDTH 16
|
||||
|
|
|
|||
|
|
@ -26,11 +26,11 @@
|
|||
* Adrian Johnson <ajohnson@redneon.com>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
/*#define ROTATED 1*/
|
||||
|
||||
#define BORDER 10
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@
|
|||
* Behdad Esfahbod <behdad@behdad.org>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
/*#define ROTATED 1*/
|
||||
|
||||
#define BORDER 10
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@
|
|||
* Behdad Esfahbod <behdad@behdad.org>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
/*#define ROTATED 1*/
|
||||
|
||||
#define BORDER 10
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
* Author: Uli Schlachter <psychon@znc.in>
|
||||
*/
|
||||
|
||||
#include "cairo.h"
|
||||
#include "cairo-test.h"
|
||||
#include "cairo.h"
|
||||
|
||||
static cairo_surface_t *
|
||||
create_image (int width, int height)
|
||||
|
|
|
|||
|
|
@ -31,12 +31,12 @@
|
|||
* made the same mistake again, it is worth adding a regression test...
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cairo.h"
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include "buffer-diff.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,12 +23,13 @@
|
|||
* Author: Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cairo.h"
|
||||
#include "cairo-xlib.h"
|
||||
#include "cairo-test.h"
|
||||
|
||||
#include "cairo-boilerplate-xlib.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue