tests: Cleanup superfluous headers
Mostly remove headers that aren't actually needed for anything. Add stdint.h to permit dropping xf86drm.h, which is otherwise unneeded. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Acked-by: Marek Chalupa <mchqwerty@gmail.com> Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
12cc4055ff
commit
a76802685a
@ -24,9 +24,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "../shared/os-compatibility.h"
|
||||
#include "weston-test-client-helper.h"
|
||||
|
@ -23,16 +23,13 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "weston-test-client-helper.h"
|
||||
#include <stdio.h>
|
||||
#include <poll.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <wayland-egl.h>
|
||||
#include <GLES2/gl2.h>
|
||||
|
||||
#include "weston-test-client-helper.h"
|
||||
|
||||
#define fail(msg) { fprintf(stderr, "%s failed\n", msg); return -1; }
|
||||
|
||||
struct test_data {
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <linux/input.h>
|
||||
|
||||
#include "weston-test-client-helper.h"
|
||||
|
||||
TEST(simple_button_test)
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <time.h>
|
||||
|
@ -32,9 +32,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <xf86drm.h>
|
||||
#include <xf86drmMode.h>
|
||||
|
||||
#include "libbacklight.h"
|
||||
|
@ -22,10 +22,10 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "weston-test-client-helper.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#define NUM_SUBSURFACES 3
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <linux/input.h>
|
||||
|
||||
#include "weston-test-client-helper.h"
|
||||
#include "text-client-protocol.h"
|
||||
|
||||
|
@ -23,10 +23,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "weston-test-runner.h"
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
@ -23,10 +23,10 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "../src/compositor.h"
|
||||
#include "wayland-test-server-protocol.h"
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
|
Loading…
Reference in New Issue
Block a user