tests: Include "config.h" as first header

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
dev
Bryce Harrington 10 years ago committed by Pekka Paalanen
parent ba0f33dc28
commit 12cc4055ff
  1. 2
      tests/event-test.c
  2. 2
      tests/keyboard-test.c
  3. 2
      tests/surface-test.c
  4. 2
      tests/weston-test-client-helper.c
  5. 2
      tests/weston-test-runner.c
  6. 4
      tests/xwayland-test.c

@ -21,6 +21,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "config.h"
#include "weston-test-client-helper.h" #include "weston-test-client-helper.h"
static void static void

@ -20,6 +20,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "config.h"
#include "weston-test-client-helper.h" #include "weston-test-client-helper.h"
TEST(simple_keyboard_test) TEST(simple_keyboard_test)

@ -20,6 +20,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>

@ -20,7 +20,7 @@
* OF THIS SOFTWARE. * OF THIS SOFTWARE.
*/ */
#include <config.h> #include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

@ -21,6 +21,7 @@
*/ */
#include "config.h" #include "config.h"
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -30,6 +31,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <signal.h> #include <signal.h>
#include "weston-test-runner.h" #include "weston-test-runner.h"
#define SKIP 77 #define SKIP 77

@ -25,7 +25,7 @@
* general works with Weston. * general works with Weston.
*/ */
#include "weston-test-runner.h" #include "config.h"
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
@ -37,6 +37,8 @@
#include <xcb/dri2.h> #include <xcb/dri2.h>
#include <xf86drm.h> #include <xf86drm.h>
#include "weston-test-runner.h"
static int static int
dri2_open(xcb_connection_t *c, xcb_screen_t *screen) dri2_open(xcb_connection_t *c, xcb_screen_t *screen)

Loading…
Cancel
Save