[glib] tests: Add charset test to autotools and drop unnecessary undefs



commit 46eedd12c0ba288d2fbfe158e2db8503055e0bbc
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Mar 13 12:21:07 2018 +0000

    tests: Add charset test to autotools and drop unnecessary undefs
    
    Follow-ups from review in bug #751826.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751826

 glib/tests/Makefile.am | 1 +
 glib/tests/charset.c   | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am
index b3983d3bd..7289b419e 100644
--- a/glib/tests/Makefile.am
+++ b/glib/tests/Makefile.am
@@ -48,6 +48,7 @@ test_programs = \
        bookmarkfile                    \
        bytes                           \
        cache                           \
+       charset                         \
        checksum                        \
        collate                         \
        cond                            \
diff --git a/glib/tests/charset.c b/glib/tests/charset.c
index ef4370a42..0a1c8ce3f 100644
--- a/glib/tests/charset.c
+++ b/glib/tests/charset.c
@@ -9,9 +9,6 @@
  * See the included COPYING file for more information.
  */
 
-#undef G_DISABLE_ASSERT
-#undef G_LOG_DOMAIN
-
 #include "glib.h"
 
 #define TEST_LOCALE "fr_FR.UTF-8@latin:en_US.UTF-8"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]