[libgdata] tests: Allow use of deprecated API in unit tests
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] tests: Allow use of deprecated API in unit tests
- Date: Sun, 19 Apr 2015 23:15:35 +0000 (UTC)
commit 5fd7761658607ac97f752d9bee98be6c3de09499
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun Apr 19 20:33:28 2015 +0100
tests: Allow use of deprecated API in unit tests
We need to test that the behaviour of deprecated API doesn’t change
across the versions of libgdata, which requires it to be accessible in
the headers, and hence LIBGDATA_DISABLE_DEPRECATED cannot be defined.
All deprecated API is marked with G_GNUC_DEPRECATED anyway, and the
tests can explicitly disable this with G_GNUC_BEGIN_IGNORE_DEPRECATIONS.
https://bugzilla.gnome.org/show_bug.cgi?id=687597
gdata/tests/Makefile.am | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdata/tests/Makefile.am b/gdata/tests/Makefile.am
index 71cc87e..6a1bfab 100644
--- a/gdata/tests/Makefile.am
+++ b/gdata/tests/Makefile.am
@@ -22,7 +22,6 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/gdata \
-DTEST_FILE_DIR="\"$(top_srcdir)/gdata/tests/\"" \
-DG_LOG_DOMAIN=\"libgdata\" \
- -DLIBGDATA_DISABLE_DEPRECATED \
$(DISABLE_DEPRECATED) \
$(NULL)
AM_CFLAGS = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]