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>
dev
Bryce Harrington 10 years ago committed by Pekka Paalanen
parent 12cc4055ff
commit a76802685a
  1. 3
      tests/bad-buffer-test.c
  2. 7
      tests/buffer-count-test.c
  3. 1
      tests/button-test.c
  4. 1
      tests/presentation-test.c
  5. 2
      tests/setbacklight.c
  6. 2
      tests/subsurface-test.c
  7. 1
      tests/surface-test.c
  8. 2
      tests/text-test.c
  9. 3
      tests/vertex-clip-test.c
  10. 1
      tests/weston-test-runner.c
  11. 2
      tests/weston-test.c
  12. 1
      tests/xwayland-test.c

@ -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…
Cancel
Save