summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJon Cruz <jonc@osg.samsung.com>2015-06-15 15:37:07 -0700
committerBryce Harrington <bryce@osg.samsung.com>2015-06-15 17:11:09 -0700
commit4678bab13ce29b02363abfa40fd78cf94e107e8b (patch)
treee7a488c5d6daf970365771eba18c551363dad3b6 /tests
parentb7e07846bdbdfd57111cdf119e716ecf8b387f3c (diff)
downloadweston-4678bab13ce29b02363abfa40fd78cf94e107e8b.tar.gz
Remove redundant #include path component.
Using the parent '../' path component in #include statements makes the codebase more rigid and is redundant due to proper -I use. Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bad-buffer-test.c2
-rw-r--r--tests/buffer-count-test.c2
-rw-r--r--tests/ivi_layout-internal-test.c4
-rw-r--r--tests/ivi_layout-test-plugin.c4
-rw-r--r--tests/matrix-test.c2
-rw-r--r--tests/surface-global-test.c2
-rw-r--r--tests/surface-test.c2
-rw-r--r--tests/vertex-clip-test.c2
-rw-r--r--tests/weston-test-client-helper.c2
-rw-r--r--tests/weston-test.c4
10 files changed, 13 insertions, 13 deletions
diff --git a/tests/bad-buffer-test.c b/tests/bad-buffer-test.c
index d8328fae..ee7b2231 100644
--- a/tests/bad-buffer-test.c
+++ b/tests/bad-buffer-test.c
@@ -28,7 +28,7 @@
#include <unistd.h>
-#include "../shared/os-compatibility.h"
+#include "shared/os-compatibility.h"
#include "weston-test-client-helper.h"
/* tests, that attempt to crash the compositor on purpose */
diff --git a/tests/buffer-count-test.c b/tests/buffer-count-test.c
index 6025cd30..065249de 100644
--- a/tests/buffer-count-test.c
+++ b/tests/buffer-count-test.c
@@ -32,7 +32,7 @@
#include <GLES2/gl2.h>
#include "weston-test-client-helper.h"
-#include "../shared/platform.h"
+#include "shared/platform.h"
#define fail(msg) { fprintf(stderr, "%s failed\n", msg); return -1; }
diff --git a/tests/ivi_layout-internal-test.c b/tests/ivi_layout-internal-test.c
index 0b1e144f..3fb51488 100644
--- a/tests/ivi_layout-internal-test.c
+++ b/tests/ivi_layout-internal-test.c
@@ -31,8 +31,8 @@
#include <string.h>
#include <stdbool.h>
-#include "../src/compositor.h"
-#include "../ivi-shell/ivi-layout-export.h"
+#include "src/compositor.h"
+#include "ivi-shell/ivi-layout-export.h"
struct test_context {
struct weston_compositor *compositor;
diff --git a/tests/ivi_layout-test-plugin.c b/tests/ivi_layout-test-plugin.c
index d3295588..c39a7144 100644
--- a/tests/ivi_layout-test-plugin.c
+++ b/tests/ivi_layout-test-plugin.c
@@ -31,10 +31,10 @@
#include <signal.h>
#include <string.h>
-#include "../src/compositor.h"
+#include "src/compositor.h"
#include "weston-test-server-protocol.h"
#include "ivi-test.h"
-#include "../ivi-shell/ivi-layout-export.h"
+#include "ivi-shell/ivi-layout-export.h"
struct test_context;
diff --git a/tests/matrix-test.c b/tests/matrix-test.c
index f8f9d955..520e12eb 100644
--- a/tests/matrix-test.c
+++ b/tests/matrix-test.c
@@ -32,7 +32,7 @@
#include <signal.h>
#include <time.h>
-#include "../shared/matrix.h"
+#include "shared/matrix.h"
struct inverse_matrix {
double LU[16]; /* column-major */
diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c
index 919e9efd..11b2455d 100644
--- a/tests/surface-global-test.c
+++ b/tests/surface-global-test.c
@@ -27,7 +27,7 @@
#include <assert.h>
-#include "../src/compositor.h"
+#include "src/compositor.h"
static void
surface_to_from_global(void *data)
diff --git a/tests/surface-test.c b/tests/surface-test.c
index 9a91e74f..55c324be 100644
--- a/tests/surface-test.c
+++ b/tests/surface-test.c
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <assert.h>
-#include "../src/compositor.h"
+#include "src/compositor.h"
static void
surface_transform(void *data)
diff --git a/tests/vertex-clip-test.c b/tests/vertex-clip-test.c
index 347dc330..2a5ec10e 100644
--- a/tests/vertex-clip-test.c
+++ b/tests/vertex-clip-test.c
@@ -30,7 +30,7 @@
#include "weston-test-runner.h"
-#include "../src/vertex-clipping.h"
+#include "src/vertex-clipping.h"
#define BOUNDING_BOX_TOP_Y 100.0f
#define BOUNDING_BOX_LEFT_X 50.0f
diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c
index 0d372d85..130d2b45 100644
--- a/tests/weston-test-client-helper.c
+++ b/tests/weston-test-client-helper.c
@@ -32,7 +32,7 @@
#include <errno.h>
#include <sys/mman.h>
-#include "../shared/os-compatibility.h"
+#include "shared/os-compatibility.h"
#include "weston-test-client-helper.h"
#define max(a, b) (((a) > (b)) ? (a) : (b))
diff --git a/tests/weston-test.c b/tests/weston-test.c
index e939350f..f4fa5ce8 100644
--- a/tests/weston-test.c
+++ b/tests/weston-test.c
@@ -31,13 +31,13 @@
#include <unistd.h>
#include <string.h>
-#include "../src/compositor.h"
+#include "src/compositor.h"
#include "weston-test-server-protocol.h"
#ifdef ENABLE_EGL
#include <EGL/egl.h>
#include <EGL/eglext.h>
-#include "../src/weston-egl-ext.h"
+#include "src/weston-egl-ext.h"
#endif /* ENABLE_EGL */
struct weston_test {