mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
Disable deprecation warnings for the test suite
We test deprecated functionality as well as current one, so we need to enable all symbols and disable the deprecation warnings.
This commit is contained in:
parent
a063f09611
commit
96cb1d7128
@ -159,8 +159,8 @@ INCLUDES = \
|
||||
test_conformance_CPPFLAGS = \
|
||||
-DG_DISABLE_SINGLE_INCLUDES \
|
||||
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
||||
-DCOGL_DISABLE_DEPRECATED \
|
||||
-DCLUTTER_DISABLE_DEPRECATED \
|
||||
-DG_DISABLE_DEPRECATION_WARNINGS \
|
||||
-DCLUTTER_DISABLE_DEPRECATION_WARNINGS \
|
||||
-DTESTS_DATADIR=\""$(top_srcdir)/tests/data"\"
|
||||
|
||||
test_conformance_CFLAGS = -g $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
||||
|
@ -1,5 +1,3 @@
|
||||
#undef CLUTTER_DISABLE_DEPRECATED
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
#include <clutter/clutter.h>
|
||||
#include <cogl/cogl.h>
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
#undef CLUTTER_DISABLE_DEPRECATED
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
#include <clutter/clutter.h>
|
||||
#include <cogl/cogl.h>
|
||||
|
||||
|
@ -137,8 +137,8 @@ test_interactive_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
||||
test_interactive_CPPFLAGS = \
|
||||
-DTESTS_DATADIR=\""$(abs_top_srcdir)/tests/data"\" \
|
||||
-DG_DISABLE_SINGLE_INCLUDES \
|
||||
-DCOGL_DISABLE_DEPRECATED \
|
||||
-DCLUTTER_DISABLE_DEPRECATED
|
||||
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
|
||||
-DCLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
test_interactive_LDFLAGS = -export-dynamic
|
||||
test_interactive_LDADD = $(CLUTTER_LIBS) $(common_ldadd) -lm
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
/*
|
||||
* Pretty cairo flower hack.
|
||||
*/
|
||||
|
||||
#undef CLUTTER_DISABLE_DEPRECATED
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
|
@ -1,5 +1,3 @@
|
||||
#undef CLUTTER_DISABLE_DEPRECATED
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
#include <errno.h>
|
||||
|
@ -1,7 +1,3 @@
|
||||
/*#define TEST_GROUP */
|
||||
|
||||
#undef CLUTTER_DISABLE_DEPRECATED
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
#include <errno.h>
|
||||
|
Loading…
Reference in New Issue
Block a user