summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2002-07-04 15:19:30 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2002-07-04 15:19:30 +0000
commitd81ac5339fcf9537a3731ebb5770238f4fa69d59 (patch)
treeadd2dc1c3b2c99c0e1fd5eeec8875c47549a5fb5 /tests
parent852ed69e87674a027ad8b945d8b63e9249256e61 (diff)
downloadglib-d81ac5339fcf9537a3731ebb5770238f4fa69d59.tar.gz
glib-d81ac5339fcf9537a3731ebb5770238f4fa69d59.tar.bz2
glib-d81ac5339fcf9537a3731ebb5770238f4fa69d59.zip
Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the
2002-07-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the files, which didn't already have them. (#87312)
Diffstat (limited to 'tests')
-rw-r--r--tests/date-test.c2
-rw-r--r--tests/gio-test.c3
-rw-r--r--tests/iochannel-test.c3
-rw-r--r--tests/libmoduletestplugin_a.c3
-rw-r--r--tests/libmoduletestplugin_b.c3
-rw-r--r--tests/mainloop-test.c3
-rw-r--r--tests/markup-test.c3
-rw-r--r--tests/module-test.c3
-rw-r--r--tests/patterntest.c4
-rw-r--r--tests/qsort-test.c3
-rw-r--r--tests/queue-test.c3
-rw-r--r--tests/rand-test.c3
-rw-r--r--tests/strfunc-test.c1
-rw-r--r--tests/strtod-test.c3
-rw-r--r--tests/testgdate.c3
-rw-r--r--tests/testgdateparser.c3
-rw-r--r--tests/thread-test.c3
-rw-r--r--tests/threadpool-test.c3
-rw-r--r--tests/timeloop-basic.c3
-rw-r--r--tests/timeloop-closure.c3
-rw-r--r--tests/timeloop.c3
-rw-r--r--tests/unicode-caseconv.c3
-rw-r--r--tests/unicode-collate.c3
-rw-r--r--tests/unicode-encoding.c3
-rw-r--r--tests/unicode-normalize.c3
25 files changed, 73 insertions, 0 deletions
diff --git a/tests/date-test.c b/tests/date-test.c
index ba405ea94..d6e1d7249 100644
--- a/tests/date-test.c
+++ b/tests/date-test.c
@@ -1,3 +1,5 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
#include "glib.h"
diff --git a/tests/gio-test.c b/tests/gio-test.c
index ccbae3f56..a14d09c51 100644
--- a/tests/gio-test.c
+++ b/tests/gio-test.c
@@ -21,6 +21,9 @@
* Just run it. Optional parameter is number of sub-processes.
*/
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include "config.h"
#include <glib.h>
diff --git a/tests/iochannel-test.c b/tests/iochannel-test.c
index f9119a8ce..9c0215060 100644
--- a/tests/iochannel-test.c
+++ b/tests/iochannel-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/tests/libmoduletestplugin_a.c b/tests/libmoduletestplugin_a.c
index 3049d37ed..5d9f5c0f1 100644
--- a/tests/libmoduletestplugin_a.c
+++ b/tests/libmoduletestplugin_a.c
@@ -24,6 +24,9 @@
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <gmodule.h>
#include <stdlib.h>
diff --git a/tests/libmoduletestplugin_b.c b/tests/libmoduletestplugin_b.c
index a9df3dda8..26e065d6c 100644
--- a/tests/libmoduletestplugin_b.c
+++ b/tests/libmoduletestplugin_b.c
@@ -24,6 +24,9 @@
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <gmodule.h>
G_MODULE_EXPORT gchar* gplugin_b_state;
diff --git a/tests/mainloop-test.c b/tests/mainloop-test.c
index 52cd68458..ad818425c 100644
--- a/tests/mainloop-test.c
+++ b/tests/mainloop-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <errno.h>
#include <glib.h>
#ifdef G_OS_UNIX
diff --git a/tests/markup-test.c b/tests/markup-test.c
index c174066ec..af19a5ee3 100644
--- a/tests/markup-test.c
+++ b/tests/markup-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <stdio.h>
#include <glib.h>
diff --git a/tests/module-test.c b/tests/module-test.c
index ba013b426..7d9149e8b 100644
--- a/tests/module-test.c
+++ b/tests/module-test.c
@@ -24,6 +24,9 @@
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <gmodule.h>
#include <string.h>
diff --git a/tests/patterntest.c b/tests/patterntest.c
index f1bc0fce8..dc5ad2bb6 100644
--- a/tests/patterntest.c
+++ b/tests/patterntest.c
@@ -16,6 +16,10 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <string.h>
#include "glib.h"
diff --git a/tests/qsort-test.c b/tests/qsort-test.c
index 9a1bc330b..2befa2e51 100644
--- a/tests/qsort-test.c
+++ b/tests/qsort-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <glib.h>
#define SIZE 100000
diff --git a/tests/queue-test.c b/tests/queue-test.c
index a519e3dc2..101b75af3 100644
--- a/tests/queue-test.c
+++ b/tests/queue-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/tests/rand-test.c b/tests/rand-test.c
index d13735cb4..014c4da47 100644
--- a/tests/rand-test.c
+++ b/tests/rand-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <glib.h>
const gint32 first_numbers[] =
diff --git a/tests/strfunc-test.c b/tests/strfunc-test.c
index 73eb86a8a..cd20b9a9d 100644
--- a/tests/strfunc-test.c
+++ b/tests/strfunc-test.c
@@ -24,6 +24,7 @@
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
+#undef G_DISABLE_ASSERT
#undef G_LOG_DOMAIN
#include <stdio.h>
diff --git a/tests/strtod-test.c b/tests/strtod-test.c
index bdb7017bc..180d926a9 100644
--- a/tests/strtod-test.c
+++ b/tests/strtod-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <glib.h>
#include <locale.h>
#include <string.h>
diff --git a/tests/testgdate.c b/tests/testgdate.c
index 01365f3f9..ef4019eab 100644
--- a/tests/testgdate.c
+++ b/tests/testgdate.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#ifdef GLIB_COMPILATION
#undef GLIB_COMPILATION
#endif
diff --git a/tests/testgdateparser.c b/tests/testgdateparser.c
index c6be8238b..f0e284a2b 100644
--- a/tests/testgdateparser.c
+++ b/tests/testgdateparser.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#ifdef GLIB_COMPILATION
#undef GLIB_COMPILATION
#endif
diff --git a/tests/thread-test.c b/tests/thread-test.c
index 8abace2b4..9a2e7b3b6 100644
--- a/tests/thread-test.c
+++ b/tests/thread-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <glib.h>
/* GMutex */
diff --git a/tests/threadpool-test.c b/tests/threadpool-test.c
index d5fa56e1c..477484008 100644
--- a/tests/threadpool-test.c
+++ b/tests/threadpool-test.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <glib.h>
#define RUNS 100
diff --git a/tests/timeloop-basic.c b/tests/timeloop-basic.c
index 6e8051f76..56861f33e 100644
--- a/tests/timeloop-basic.c
+++ b/tests/timeloop-basic.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/timeloop-closure.c b/tests/timeloop-closure.c
index 798cb3a0a..176b8109f 100644
--- a/tests/timeloop-closure.c
+++ b/tests/timeloop-closure.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/tests/timeloop.c b/tests/timeloop.c
index 5517d6cfd..4f0a5351d 100644
--- a/tests/timeloop.c
+++ b/tests/timeloop.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/tests/unicode-caseconv.c b/tests/unicode-caseconv.c
index 65836e142..8b949d45a 100644
--- a/tests/unicode-caseconv.c
+++ b/tests/unicode-caseconv.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <locale.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/unicode-collate.c b/tests/unicode-collate.c
index 8832d1fbb..7f7307701 100644
--- a/tests/unicode-collate.c
+++ b/tests/unicode-collate.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/tests/unicode-encoding.c b/tests/unicode-encoding.c
index 5710e1f1f..37713b94a 100644
--- a/tests/unicode-encoding.c
+++ b/tests/unicode-encoding.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/tests/unicode-normalize.c b/tests/unicode-normalize.c
index 7021edd50..6dec6b27c 100644
--- a/tests/unicode-normalize.c
+++ b/tests/unicode-normalize.c
@@ -1,3 +1,6 @@
+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>