tests: Include "config.h" as first header

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
Bryce Harrington
2014-11-19 17:18:33 -08:00
committed by Pekka Paalanen
parent ba0f33dc28
commit 12cc4055ff
6 changed files with 12 additions and 2 deletions
+2
View File
@@ -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
+2
View File
@@ -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)
+2
View File
@@ -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>
+1 -1
View File
@@ -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>
+2
View File
@@ -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
+3 -1
View File
@@ -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)