summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2009-06-13 20:03:28 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2009-06-13 20:03:28 +0100
commit7bcfaa6946d56a4d635ea3cd7455915435f20d5c (patch)
treed867abad14a99ec9b50adcde2971cf4a0e05ddce /tests
parent1b1dd8e746b071bacf4d2c581e6eeac0f5ce2e68 (diff)
Make examples and tests use GCC_FLAGS
And few the few resulting warnings.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am6
-rw-r--r--tests/test-rgb-upload.c1
-rw-r--r--tests/test-yuv-upload.c1
3 files changed, 6 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ac9eb48..32e1c9d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,10 +1,12 @@
-NULL =
+NULL = #
noinst_PROGRAMS = test-yuv-upload \
test-rgb-upload \
$(NULL)
-INCLUDES = -I$(top_srcdir)/
+INCLUDES = -I$(top_srcdir) \
+ $(GCC_FLAGS) \
+ $(NULL)
test_yuv_upload_SOURCES = test-yuv-upload.c
test_yuv_upload_CFLAGS = $(CLUTTER_GST_CFLAGS) $(GST_CFLAGS)
diff --git a/tests/test-rgb-upload.c b/tests/test-rgb-upload.c
index 0185c7e..77efc00 100644
--- a/tests/test-rgb-upload.c
+++ b/tests/test-rgb-upload.c
@@ -1,5 +1,6 @@
#include <string.h>
+#include <glib/gprintf.h>
#include <clutter-gst/clutter-gst.h>
static gint opt_framerate = 30;
diff --git a/tests/test-yuv-upload.c b/tests/test-yuv-upload.c
index 0edc928..cd7360a 100644
--- a/tests/test-yuv-upload.c
+++ b/tests/test-yuv-upload.c
@@ -1,5 +1,6 @@
#include <string.h>
+#include <glib/gprintf.h>
#include <clutter-gst/clutter-gst.h>
static gint opt_framerate = 30;