test: fix include order for AIX, bug#89354

This commit is contained in:
Michael Haubenwallner 2015-02-26 15:03:43 +01:00 committed by Bryce Harrington
parent b0f3465d09
commit e91ebe3dd0
41 changed files with 52 additions and 49 deletions

View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,5 +1,5 @@
#include <math.h>
#include "cairo-test.h"
#include <math.h>
#include <stdio.h>
static const char *png_filename = "romedalen.png";

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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) { \

View file

@ -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:

View file

@ -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 */

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 */

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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"

View file

@ -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"