[glib: 3/4] tests: Drop use of g_test_bug_base()




commit 7e9585177d5d6db546fdad85ff6f5ff5ba5f5e3b
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu May 13 22:12:29 2021 +0100

    tests: Drop use of g_test_bug_base()
    
    Include the base URI in the `g_test_bug()` calls instead. This resolves
    inconsistencies between the old bug base (bugzilla.gnome.org) and the
    new bug base (gitlab.gnome.org). It also has the advantage that the URI
    passed to `g_test_bug()` is now clickable in the code editor, rather
    than being split across two locations.
    
    See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/275#note_303175
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gio/tests/appinfo.c                         |  3 +--
 gio/tests/async-close-output-stream.c       |  8 +++-----
 gio/tests/buffered-input-stream.c           |  3 +--
 gio/tests/contenttype.c                     |  4 +---
 gio/tests/converter-stream.c                |  4 +---
 gio/tests/filter-streams.c                  |  3 +--
 gio/tests/g-file-info-filesystem-readonly.c |  3 +--
 gio/tests/gdbus-serialization.c             |  5 ++---
 gio/tests/glistmodel.c                      |  5 ++---
 gio/tests/gsubprocess.c                     |  5 ++---
 gio/tests/memory-output-stream.c            | 11 +++++------
 gio/tests/network-address.c                 |  3 +--
 gio/tests/network-monitor-race.c            |  3 +--
 gio/tests/sleepy-stream.c                   |  1 -
 gio/tests/socket-listener.c                 |  2 --
 gio/tests/socket-service.c                  |  4 +---
 gio/tests/socket.c                          |  3 +--
 gio/tests/testfilemonitor.c                 |  4 +---
 gio/tests/trash.c                           |  6 ++----
 glib/gtester.c                              |  1 +
 glib/tests/642026.c                         |  3 +--
 glib/tests/array-test.c                     |  2 --
 glib/tests/base64.c                         |  3 +--
 glib/tests/bytes.c                          |  2 --
 glib/tests/charset.c                        |  2 --
 glib/tests/cond.c                           |  3 +--
 glib/tests/date.c                           |  5 ++---
 glib/tests/fileutils.c                      |  4 +---
 glib/tests/gutils-user-database.c           |  1 -
 glib/tests/guuid.c                          |  1 -
 glib/tests/gvariant.c                       |  1 -
 glib/tests/hash.c                           | 10 ++++------
 glib/tests/keyfile.c                        | 18 ++++++++----------
 glib/tests/logging.c                        |  3 +--
 glib/tests/mainloop.c                       |  5 ++---
 glib/tests/mem-overflow.c                   |  4 +---
 glib/tests/option-context.c                 | 18 ++++++++----------
 glib/tests/rand.c                           |  3 +--
 glib/tests/regex.c                          |  4 +---
 glib/tests/utils.c                          |  3 +--
 gobject/tests/binding.c                     |  7 ++-----
 gobject/tests/ifaceproperties.c             |  3 +--
 gobject/tests/object.c                      |  3 +--
 gobject/tests/properties.c                  |  4 +---
 44 files changed, 66 insertions(+), 127 deletions(-)
---
diff --git a/gio/tests/appinfo.c b/gio/tests/appinfo.c
index 2f0f43074..bd76729c4 100644
--- a/gio/tests/appinfo.c
+++ b/gio/tests/appinfo.c
@@ -104,7 +104,7 @@ test_launch_no_app_id (void)
       "Exec=%s/appinfo-test --option %%u %%i --name %%c --filename %%k %%m %%%%",
       g_test_get_dir (G_TEST_BUILT));
 
-  g_test_bug ("791337");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=791337";);
 
   for (i = 0; i < G_N_ELEMENTS (exec_line_variants); i++)
     {
@@ -581,7 +581,6 @@ main (int argc, char *argv[])
   g_setenv ("XDG_CURRENT_DESKTOP", "GNOME", TRUE);
 
   g_test_init (&argc, &argv, G_TEST_OPTION_ISOLATE_DIRS, NULL);
-  g_test_bug_base ("https://bugzilla.gnome.org/show_bug.cgi?id=";);
 
   g_test_add_func ("/appinfo/basic", test_basic);
   g_test_add_func ("/appinfo/text", test_text);
diff --git a/gio/tests/async-close-output-stream.c b/gio/tests/async-close-output-stream.c
index 00e068766..a14c413c2 100644
--- a/gio/tests/async-close-output-stream.c
+++ b/gio/tests/async-close-output-stream.c
@@ -164,7 +164,7 @@ test_without_flush (SetupData     *data,
 {
   prepare_data (data, FALSE);
 
-  g_test_bug ("617937");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=617937";);
 
   /* just close asynchronously */
   g_output_stream_close_async (data->conv_stream,
@@ -181,7 +181,7 @@ test_with_flush (SetupData *data, gconstpointer user_data)
 {
   GError *error = NULL;
 
-  g_test_bug ("617937");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=617937";);
 
   prepare_data (data, TRUE);
 
@@ -222,7 +222,7 @@ static void
 test_with_async_flush (SetupData     *data,
                        gconstpointer  user_data)
 {
-  g_test_bug ("617937");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=617937";);
 
   prepare_data (data, TRUE);
 
@@ -244,8 +244,6 @@ main (int   argc,
 
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   data = g_slice_new (SetupData);
 
   /* test closing asynchronously without flushing manually */
diff --git a/gio/tests/buffered-input-stream.c b/gio/tests/buffered-input-stream.c
index ef865fc45..ee084b3b7 100644
--- a/gio/tests/buffered-input-stream.c
+++ b/gio/tests/buffered-input-stream.c
@@ -126,7 +126,7 @@ test_read_byte (void)
   GInputStream *in;
   GError *error;
 
-  g_test_bug ("562393");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=562393";);
 
   base = g_memory_input_stream_new_from_data ("abcdefgh", -1, NULL);
   in = g_buffered_input_stream_new (base);
@@ -536,7 +536,6 @@ main (int   argc,
       char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/buffered-input-stream/peek", test_peek);
   g_test_add_func ("/buffered-input-stream/peek-buffer", test_peek_buffer);
diff --git a/gio/tests/contenttype.c b/gio/tests/contenttype.c
index f2faaf68d..db34f1da8 100644
--- a/gio/tests/contenttype.c
+++ b/gio/tests/contenttype.c
@@ -390,7 +390,7 @@ test_type_is_a_special_case (void)
 #else
   gboolean res;
 
-  g_test_bug ("782311");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=782311";);
 
   /* Everything but the inode type is application/octet-stream */
   res = g_content_type_is_a ("inode/directory", "application/octet-stream");
@@ -463,8 +463,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/contenttype/guess", test_guess);
   g_test_add_func ("/contenttype/guess_svg_from_data", test_guess_svg_from_data);
   g_test_add_func ("/contenttype/mime_from_content", test_mime_from_content);
diff --git a/gio/tests/converter-stream.c b/gio/tests/converter-stream.c
index 6f0bf6a3e..cf1853ba0 100644
--- a/gio/tests/converter-stream.c
+++ b/gio/tests/converter-stream.c
@@ -748,7 +748,7 @@ test_roundtrip (gconstpointer data)
   GFileInfo *info;
   GFileInfo *info2;
 
-  g_test_bug ("619945");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=619945";);
 
   data0 = g_malloc (DATA_LENGTH * sizeof (guint32));
   for (i = 0; i < DATA_LENGTH; i++)
@@ -1211,8 +1211,6 @@ main (int   argc,
 
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/converter/basics", test_converter_basics);
   g_test_add_func ("/converter-input-stream/expander", test_expander);
   g_test_add_func ("/converter-input-stream/compressor", test_compressor);
diff --git a/gio/tests/filter-streams.c b/gio/tests/filter-streams.c
index e3e67ea18..1f94dc222 100644
--- a/gio/tests/filter-streams.c
+++ b/gio/tests/filter-streams.c
@@ -68,7 +68,7 @@ test_input_filter (void)
   gchar buf[1024];
   GError *error = NULL;
 
-  g_test_bug ("568394");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=568394";);
   base = g_memory_input_stream_new_from_data ("abcdefghijk", -1, NULL);
   f1 = g_object_new (TEST_TYPE_FILTER_INPUT_STREAM,
                      "base-stream", base,
@@ -381,7 +381,6 @@ int
 main (int argc, char **argv)
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/filter-stream/input", test_input_filter);
   g_test_add_func ("/filter-stream/output", test_output_filter);
diff --git a/gio/tests/g-file-info-filesystem-readonly.c b/gio/tests/g-file-info-filesystem-readonly.c
index 16fa83e33..9b94c3220 100644
--- a/gio/tests/g-file-info-filesystem-readonly.c
+++ b/gio/tests/g-file-info-filesystem-readonly.c
@@ -225,8 +225,7 @@ main (int argc, char *argv[])
 
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-  g_test_bug ("787731");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=787731";);
 
   g_test_add_data_func ("/g-file-info-filesystem-readonly/test-fs-ro",
                         GINT_TO_POINTER (FALSE), test_filesystem_readonly);
diff --git a/gio/tests/gdbus-serialization.c b/gio/tests/gdbus-serialization.c
index b95244c9a..a3b03c5e0 100644
--- a/gio/tests/gdbus-serialization.c
+++ b/gio/tests/gdbus-serialization.c
@@ -1051,7 +1051,7 @@ test_message_parse_empty_arrays_of_arrays (void)
   GVariant *body;
   GError *error = NULL;
 
-  g_test_bug ("673612");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=673612";);
   /* These three-element array of empty arrays were previously read back as a
    * two-element array of empty arrays, due to sometimes erroneously skipping
    * four bytes to align for the eight-byte-aligned grandchild types (x and
@@ -1107,7 +1107,7 @@ test_message_serialize_double_array (void)
   GVariantBuilder builder;
   GVariant *body;
 
-  g_test_bug ("732754");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=732754";);
 
   g_variant_builder_init (&builder, G_VARIANT_TYPE ("ad"));
   g_variant_builder_add (&builder, "d", (gdouble)0.0);
@@ -1480,7 +1480,6 @@ main (int   argc,
   setlocale (LC_ALL, "C");
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://bugzilla.gnome.org/show_bug.cgi?id=";);
 
   g_test_add_func ("/gdbus/message-serialize/basic",
                    test_message_serialize_basic);
diff --git a/gio/tests/glistmodel.c b/gio/tests/glistmodel.c
index 5ecf45f79..e50969ead 100644
--- a/gio/tests/glistmodel.c
+++ b/gio/tests/glistmodel.c
@@ -270,7 +270,7 @@ test_store_splice_replace_middle (void)
   GAction *item;
   GPtrArray *array;
 
-  g_test_bug ("795307");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=795307";);
 
   store = g_list_store_new (G_TYPE_SIMPLE_ACTION);
   model = G_LIST_MODEL (store);
@@ -326,7 +326,7 @@ test_store_splice_replace_all (void)
   GPtrArray *array;
   GAction *item;
 
-  g_test_bug ("795307");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=795307";);
 
   store = g_list_store_new (G_TYPE_SIMPLE_ACTION);
   model = G_LIST_MODEL (store);
@@ -874,7 +874,6 @@ test_store_find (void)
 int main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://bugzilla.gnome.org/";);
 
   g_test_add_func ("/glistmodel/store/properties", test_store_properties);
   g_test_add_func ("/glistmodel/store/non-gobjects", test_store_non_gobjects);
diff --git a/gio/tests/gsubprocess.c b/gio/tests/gsubprocess.c
index 9c7898806..7ee42f389 100644
--- a/gio/tests/gsubprocess.c
+++ b/gio/tests/gsubprocess.c
@@ -233,7 +233,7 @@ test_exit1_cancel (void)
   GSubprocess *proc;
   TestExit1CancelData data = { 0 };
 
-  g_test_bug ("786456");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=786456";);
 
   args = get_test_subprocess_args ("exit1", NULL);
   proc = g_subprocess_newv ((const gchar * const *) args->pdata, G_SUBPROCESS_FLAGS_NONE, error);
@@ -288,7 +288,7 @@ test_exit1_cancel_in_cb (void)
   GSubprocess *proc;
   TestExit1CancelData data = { 0 };
 
-  g_test_bug ("786456");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=786456";);
 
   args = get_test_subprocess_args ("exit1", NULL);
   proc = g_subprocess_newv ((const gchar * const *) args->pdata, G_SUBPROCESS_FLAGS_NONE, error);
@@ -1812,7 +1812,6 @@ main (int argc, char **argv)
   gsize i;
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://bugzilla.gnome.org/";);
 
   g_test_add_func ("/gsubprocess/noop", test_noop);
   g_test_add_func ("/gsubprocess/noop-all-to-null", test_noop_all_to_null);
diff --git a/gio/tests/memory-output-stream.c b/gio/tests/memory-output-stream.c
index 72da6263d..b448516df 100644
--- a/gio/tests/memory-output-stream.c
+++ b/gio/tests/memory-output-stream.c
@@ -33,7 +33,7 @@ test_truncate (void)
   GError *error = NULL;
   guint8 *data;
 
-  g_test_bug ("540423");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=540423";);
 
   mo = g_memory_output_stream_new_resizable ();
   g_assert (g_seekable_can_truncate (G_SEEKABLE (mo)));
@@ -66,7 +66,7 @@ test_truncate (void)
   for (i = 1000; i < 3000; i++)
     g_assert_cmpuint (data[i], ==, 2);
 
-  g_test_bug ("720080");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=720080";);
 
   g_seekable_truncate (G_SEEKABLE (mo), 8192, NULL, &error);
   g_assert_cmpint (g_memory_output_stream_get_data_size (G_MEMORY_OUTPUT_STREAM (mo)), ==, 8192);
@@ -199,7 +199,7 @@ test_data_size (void)
   GDataOutputStream *o;
   int pos;
 
-  g_test_bug ("540459");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=540459";);
 
   mo = g_memory_output_stream_new_resizable ();
   o = g_data_output_stream_new (mo);
@@ -211,7 +211,7 @@ test_data_size (void)
   pos = g_seekable_tell (G_SEEKABLE (mo));
   g_assert_cmpint (pos, ==, 1);
 
-  g_test_bug ("540461");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=540461";);
   
   g_seekable_seek (G_SEEKABLE (mo), 0, G_SEEK_SET, NULL, NULL);
   pos = g_seekable_tell (G_SEEKABLE (mo));
@@ -239,7 +239,7 @@ test_properties (void)
   gpointer data_prop;
   gpointer func;
 
-  g_test_bug ("605733");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=605733";);
 
   mo = (GOutputStream*) g_object_new (G_TYPE_MEMORY_OUTPUT_STREAM,
                                       "realloc-function", g_realloc,
@@ -430,7 +430,6 @@ main (int   argc,
       char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/memory-output-stream/truncate", test_truncate);
   g_test_add_func ("/memory-output-stream/seek/fixed", test_seek_fixed);
diff --git a/gio/tests/network-address.c b/gio/tests/network-address.c
index 3426e8c06..946a8f25f 100644
--- a/gio/tests/network-address.c
+++ b/gio/tests/network-address.c
@@ -1011,7 +1011,7 @@ test_happy_eyeballs_ipv6_error_ipv4_very_slow (HappyEyeballsFixture *fixture,
   AsyncData data = { 0 };
   GError *ipv6_error;
 
-  g_test_bug ("merge_requests/865");
+  g_test_bug ("https://gitlab.gnome.org/GNOME/glib/merge_requests/865";);
   g_test_summary ("Ensure that we successfully return IPv4 results even when they come significantly later 
than an IPv6 failure.");
 
   /* If ipv6 fails, ensuring that ipv6 errors before ipv4 finishes, we still get ipv4. */
@@ -1187,7 +1187,6 @@ main (int argc, char *argv[])
   gchar *path;
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/";);
 
   g_test_add_func ("/network-address/basic", test_basic);
 
diff --git a/gio/tests/network-monitor-race.c b/gio/tests/network-monitor-race.c
index 9c6866e6a..00bd6fa8e 100644
--- a/gio/tests/network-monitor-race.c
+++ b/gio/tests/network-monitor-race.c
@@ -58,7 +58,7 @@ test_network_monitor (void)
 {
   guint ii;
 
-  g_test_bug ("793727");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=793727";);
 
   if (g_test_subprocess ())
     {
@@ -86,7 +86,6 @@ int
 main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://bugzilla.gnome.org/show_bug.cgi?id=";);
 
   g_test_add_func ("/network-monitor/create-in-thread",
                    test_network_monitor);
diff --git a/gio/tests/sleepy-stream.c b/gio/tests/sleepy-stream.c
index 664fb3b02..bbbeb2534 100644
--- a/gio/tests/sleepy-stream.c
+++ b/gio/tests/sleepy-stream.c
@@ -285,7 +285,6 @@ int
 main (int argc, char **argv)
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/filter-stream/input", test);
   g_test_add_func ("/filter-stream/async", asynch);
diff --git a/gio/tests/socket-listener.c b/gio/tests/socket-listener.c
index 71e70b28f..6ceed13d4 100644
--- a/gio/tests/socket-listener.c
+++ b/gio/tests/socket-listener.c
@@ -86,8 +86,6 @@ main (int   argc,
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/socket-listener/event-signal", test_event_signal);
 
   return g_test_run();
diff --git a/gio/tests/socket-service.c b/gio/tests/socket-service.c
index c763fa6e6..a00c0c499 100644
--- a/gio/tests/socket-service.c
+++ b/gio/tests/socket-service.c
@@ -182,7 +182,7 @@ test_threaded_712570 (void)
   GSocketClient *client;
   GError *error = NULL;
 
-  g_test_bug ("712570");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=712570";);
 
   g_mutex_lock (&mutex_712570);
 
@@ -557,8 +557,6 @@ main (int   argc,
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/socket-service/start-stop", test_start_stop);
   g_test_add_func ("/socket-service/threaded/712570", test_threaded_712570);
   g_test_add_func ("/socket-service/read_write_async", test_read_write_async);
diff --git a/gio/tests/socket.c b/gio/tests/socket.c
index 3a567ec9d..dd984e2e0 100644
--- a/gio/tests/socket.c
+++ b/gio/tests/socket.c
@@ -1227,7 +1227,7 @@ test_fd_reuse (void)
   gssize len;
   gchar buf[128];
 
-  g_test_bug ("741707");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=741707";);
 
   data = create_server (G_SOCKET_FAMILY_IPV4, echo_server_thread, FALSE, &error);
   if (error != NULL)
@@ -2140,7 +2140,6 @@ main (int   argc,
   GError *error = NULL;
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://bugzilla.gnome.org/";);
 
   sock = g_socket_new (G_SOCKET_FAMILY_IPV6,
                        G_SOCKET_TYPE_STREAM,
diff --git a/gio/tests/testfilemonitor.c b/gio/tests/testfilemonitor.c
index 3a94a0353..b7f4a380d 100644
--- a/gio/tests/testfilemonitor.c
+++ b/gio/tests/testfilemonitor.c
@@ -965,7 +965,7 @@ test_file_hard_links (Fixture       *fixture,
   GError *error = NULL;
   TestData data;
 
-  g_test_bug ("755721");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=755721";);
 
 #ifdef HAVE_LINK
   g_test_message ("Running with hard link tests");
@@ -1020,8 +1020,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("https://bugzilla.gnome.org/show_bug.cgi?id=";);
-
   g_test_add ("/monitor/atomic-replace", Fixture, NULL, setup, test_atomic_replace, teardown);
   g_test_add ("/monitor/file-changes", Fixture, NULL, setup, test_file_changes, teardown);
   g_test_add ("/monitor/dir-monitor", Fixture, NULL, setup, test_dir_monitor, teardown);
diff --git a/gio/tests/trash.c b/gio/tests/trash.c
index adf729be2..2d3ec6774 100644
--- a/gio/tests/trash.c
+++ b/gio/tests/trash.c
@@ -38,7 +38,7 @@ test_trash_not_supported (void)
   gchar *parent_dirname;
   GStatBuf parent_stat, home_stat;
 
-  g_test_bug ("251");
+  g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/251";);
 
   /* The test assumes that tmp file is located on system internal mount. */
   file = g_file_new_tmp ("test-trashXXXXXX", &stream, &error);
@@ -105,7 +105,7 @@ test_trash_symlinks (void)
   gchar *target, *tmp, *target_over_symlink;
   GError *error = NULL;
 
-  g_test_bug ("1522");
+  g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/1522";);
 
   target = g_build_filename (g_get_home_dir (), ".local", NULL);
 
@@ -204,8 +204,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/issues/";);
-
   g_test_add_func ("/trash/not-supported", test_trash_not_supported);
   g_test_add_func ("/trash/symlinks", test_trash_symlinks);
 
diff --git a/glib/gtester.c b/glib/gtester.c
index fdcdaca10..94cfba641 100644
--- a/glib/gtester.c
+++ b/glib/gtester.c
@@ -745,6 +745,7 @@ fixture_test (guint        *fix,
   g_test_bug ("123");
   g_test_bug_base ("http://www.example.com/bugtracker?bugnum=%s;cmd=showbug";);
   g_test_bug ("456");
+  g_test_bug ("https://example.com/no-base-used";);
 }
 static void
 fixture_teardown (guint        *fix,
diff --git a/glib/tests/642026.c b/glib/tests/642026.c
index 26ab2ed06..aface4ea0 100644
--- a/glib/tests/642026.c
+++ b/glib/tests/642026.c
@@ -51,7 +51,7 @@ static gpointer thread_func (gpointer nil)
 static void
 testcase (void)
 {
-  g_test_bug ("642026");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=642026";);
 
   mutex = g_mutex_new ();
   cond = g_cond_new ();
@@ -86,7 +86,6 @@ main (int argc,
     char **argv)
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://bugzilla.gnome.org/show_bug.cgi?id=";);
 
   g_test_add_func ("/glib/642026", testcase);
 
diff --git a/glib/tests/array-test.c b/glib/tests/array-test.c
index fef63f672..471f6171d 100644
--- a/glib/tests/array-test.c
+++ b/glib/tests/array-test.c
@@ -1991,8 +1991,6 @@ main (int argc, char *argv[])
 
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("https://bugzilla.gnome.org/";);
-
   /* array tests */
   g_test_add_func ("/array/new/zero-terminated", array_new_zero_terminated);
   g_test_add_func ("/array/ref-count", array_ref_count);
diff --git a/glib/tests/base64.c b/glib/tests/base64.c
index bf32ac629..93b1b1dd0 100644
--- a/glib/tests/base64.c
+++ b/glib/tests/base64.c
@@ -247,7 +247,7 @@ test_base64_encode_incremental_small_block (gconstpointer block_size_p)
   gsize i;
   struct MyRawData myraw;
 
-  g_test_bug ("780066");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=780066";);
 
   generate_databuffer_for_base64 (&myraw);
 
@@ -492,7 +492,6 @@ main (int argc, char *argv[])
   gint i;
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://bugzilla.gnome.org/browse.cgi?product=";);
 
   for (i = 0; i < DATA_SIZE; i++)
     data[i] = (guchar)i;
diff --git a/glib/tests/bytes.c b/glib/tests/bytes.c
index cbc4d699c..fc02a211c 100644
--- a/glib/tests/bytes.c
+++ b/glib/tests/bytes.c
@@ -423,8 +423,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("https://bugzilla.gnome.org/";);
-
   g_test_add_func ("/bytes/new", test_new);
   g_test_add_func ("/bytes/new-take", test_new_take);
   g_test_add_func ("/bytes/new-static", test_new_static);
diff --git a/glib/tests/charset.c b/glib/tests/charset.c
index 363eedfd1..53f12ec72 100644
--- a/glib/tests/charset.c
+++ b/glib/tests/charset.c
@@ -76,8 +76,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugs.gnome.org/";);
-
   g_test_add_func ("/charset/language_names_with_category", test_language_names_with_category);
   g_test_add_func ("/charset/language_names_with_category_async", test_language_names_with_category_async);
 
diff --git a/glib/tests/cond.c b/glib/tests/cond.c
index ed338cce3..bcd8fbd8c 100644
--- a/glib/tests/cond.c
+++ b/glib/tests/cond.c
@@ -324,8 +324,7 @@ test_wait_until_errno (void)
   act.sa_handler = signal_handler;
 
   g_test_summary ("Check proper handling of errno in g_cond_wait_until with a contended mutex");
-  g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/";);
-  g_test_bug ("merge_requests/957");
+  g_test_bug ("https://gitlab.gnome.org/GNOME/glib/merge_requests/957";);
 
   g_mutex_init (&lock);
   g_cond_init (&cond);
diff --git a/glib/tests/date.c b/glib/tests/date.c
index 542293c4b..5c60ffcba 100644
--- a/glib/tests/date.c
+++ b/glib/tests/date.c
@@ -242,7 +242,7 @@ test_month_substring (void)
 {
   GDate date;
 
-  g_test_bug ("793550");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=793550";);
 
   if (setlocale (LC_ALL, "pl_PL") == NULL)
     {
@@ -282,7 +282,7 @@ test_month_names (void)
 #endif
 #endif  /* defined(HAVE_LANGINFO_ABALTMON) || defined(G_OS_WIN32) */
 
-  g_test_bug ("749206");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=749206";);
 
   /* If running uninstalled (G_TEST_BUILDDIR is set), skip this test, since we
    * need the translations to be installed. We can’t mess around with
@@ -789,7 +789,6 @@ main (int argc, char** argv)
 #endif
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/date/basic", test_basic);
   g_test_add_func ("/date/empty", test_empty_constructor);
diff --git a/glib/tests/fileutils.c b/glib/tests/fileutils.c
index 76ba9086d..a3c1c33d0 100644
--- a/glib/tests/fileutils.c
+++ b/glib/tests/fileutils.c
@@ -1439,7 +1439,7 @@ test_fopen_modes (void)
       "ab+"
     };
 
-  g_test_bug ("119");
+  g_test_bug ("https://gitlab.gnome.org/GNOME/glib/merge_requests/119";);
 
   if (g_file_test (path, G_FILE_TEST_EXISTS))
     g_error ("failed, %s exists, cannot test g_fopen()", path);
@@ -1826,8 +1826,6 @@ main (int   argc,
   g_setenv ("LC_ALL", "C", TRUE);
   g_test_init (&argc, &argv, G_TEST_OPTION_ISOLATE_DIRS, NULL);
 
-  g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/merge_requests/";);
-
 #ifdef G_OS_WIN32
   g_test_add_func ("/fileutils/stdio-win32-pathstrip", test_win32_pathstrip);
   g_test_add_func ("/fileutils/stdio-win32-zero-terminate-symlink", test_win32_zero_terminate_symlink);
diff --git a/glib/tests/gutils-user-database.c b/glib/tests/gutils-user-database.c
index aef599a7b..89a0e0b0f 100644
--- a/glib/tests/gutils-user-database.c
+++ b/glib/tests/gutils-user-database.c
@@ -35,7 +35,6 @@ int
 main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/issues";);
 
   g_test_add_func ("/gutils/get_user_database_entry", test_get_user_database_entry);
 
diff --git a/glib/tests/guuid.c b/glib/tests/guuid.c
index 41e2c81e9..bfe27955b 100644
--- a/glib/tests/guuid.c
+++ b/glib/tests/guuid.c
@@ -61,7 +61,6 @@ int
 main (int argc, char **argv)
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   /* GUuid Tests */
   g_test_add_func ("/uuid/string", test_guuid_string);
diff --git a/glib/tests/gvariant.c b/glib/tests/gvariant.c
index b42ef6855..0110f2664 100644
--- a/glib/tests/gvariant.c
+++ b/glib/tests/gvariant.c
@@ -5122,7 +5122,6 @@ main (int argc, char **argv)
   guint i;
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("");
 
   g_test_add_func ("/gvariant/type", test_gvarianttype);
   g_test_add_func ("/gvariant/type/string-scan/recursion/tuple",
diff --git a/glib/tests/hash.c b/glib/tests/hash.c
index f4ff55ce1..fe72606f8 100644
--- a/glib/tests/hash.c
+++ b/glib/tests/hash.c
@@ -759,7 +759,7 @@ test_lookup_null_key (void)
   gpointer key;
   gpointer value;
 
-  g_test_bug ("642944");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=642944";);
 
   h = g_hash_table_new (null_safe_str_hash, null_safe_str_equal);
   g_hash_table_insert (h, "abc", "ABC");
@@ -1012,7 +1012,7 @@ test_destroy_modify (void)
   FakeFreeData *ffd;
   guint i;
 
-  g_test_bug ("650459");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=650459";);
 
   fake_free_data = g_ptr_array_new ();
 
@@ -1518,7 +1518,7 @@ test_iter_replace (void)
   gpointer k, v;
   gchar *s;
 
-  g_test_bug ("662544");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=662544";);
 
   h = g_hash_table_new_full (g_str_hash, g_str_equal, my_key_free, my_value_free);
 
@@ -1555,7 +1555,7 @@ test_set_insert_corruption (void)
   gchar b[] = "foo";
   gpointer key, value;
 
-  g_test_bug ("692815");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=692815";);
 
   g_hash_table_insert (hash_table, a, a);
   g_assert (g_hash_table_contains (hash_table, "foo"));
@@ -1664,8 +1664,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/hash/misc", test_hash_misc);
   g_test_add_data_func ("/hash/one", GINT_TO_POINTER (TRUE), second_hash_test);
   g_test_add_data_func ("/hash/honeyman", GINT_TO_POINTER (FALSE), second_hash_test);
diff --git a/glib/tests/keyfile.c b/glib/tests/keyfile.c
index 975ef8167..1f5be8b38 100644
--- a/glib/tests/keyfile.c
+++ b/glib/tests/keyfile.c
@@ -897,7 +897,7 @@ test_group_remove (void)
     "key1=bla\n"
     "key2=bla\n";
 
-  g_test_bug ("165887");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=165887";);
 
   keyfile = load_data (data, 0);
 
@@ -952,7 +952,7 @@ test_key_remove (void)
     "key1=bla\n"
     "key2=bla\n";
 
-  g_test_bug ("165980");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=165980";);
 
   keyfile = load_data (data, 0);
 
@@ -986,7 +986,7 @@ test_groups (void)
     "[2]\n"
     "key2=123\n";
 
-  g_test_bug ("316309");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=316309";);
 
   keyfile = load_data (data, 0);
 
@@ -1267,7 +1267,7 @@ test_duplicate_groups (void)
     "[Desktop Entry]\n"
     "key2=123\n";
 
-  g_test_bug ("157877");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=157877";);
 
   keyfile = load_data (data, 0);
   check_string_value (keyfile, "Desktop Entry", "key1", "123");
@@ -1288,7 +1288,7 @@ test_duplicate_groups2 (void)
     "[A]\n"
     "foo=bang\n";
 
-  g_test_bug ("385910");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=385910";);
 
   keyfile = load_data (data, 0);
   check_string_value (keyfile, "A", "foo", "bang");
@@ -1324,7 +1324,7 @@ test_reload_idempotency (void)
   gchar *data1, *data2;
   gsize len1, len2;
 
-  g_test_bug ("420686");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=420686";);
 
   /* check that we only insert a single new line between groups */
   keyfile = g_key_file_new ();
@@ -1371,7 +1371,7 @@ test_int64 (void)
   gint64 d;
   gchar *value;
 
-  g_test_bug ("614864");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=614864";);
 
   file = g_key_file_new ();
 
@@ -1552,7 +1552,7 @@ test_page_boundary (void)
 #define LAST_KEY 99
 #define VALUE 92
 
-  g_test_bug ("640695");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=640695";);
 
   file = g_key_file_new ();
 
@@ -1823,8 +1823,6 @@ main (int argc, char *argv[])
   g_setenv ("XDG_DATA_HOME", g_test_get_dir (G_TEST_DIST), TRUE);
 #endif
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/keyfile/line-ends", test_line_ends);
   g_test_add_func ("/keyfile/whitespace", test_whitespace);
   g_test_add_func ("/keyfile/comments", test_comments);
diff --git a/glib/tests/logging.c b/glib/tests/logging.c
index 096fe4467..e246cdf5b 100644
--- a/glib/tests/logging.c
+++ b/glib/tests/logging.c
@@ -340,7 +340,7 @@ test_handler (const gchar    *log_domain,
 static void
 bug653052 (void)
 {
-  g_test_bug ("653052");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=653052";);
 
   g_test_log_set_fatal_handler (good_failure_handler, fail_str);
   g_log_set_default_handler (test_handler, log_str);
@@ -637,7 +637,6 @@ main (int argc, char *argv[])
   g_unsetenv ("G_MESSAGES_DEBUG");
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/logging/default-handler", test_default_handler);
   g_test_add_func ("/logging/default-handler/subprocess/error", test_default_handler_error);
diff --git a/glib/tests/mainloop.c b/glib/tests/mainloop.c
index e0ff04628..77e21f548 100644
--- a/glib/tests/mainloop.c
+++ b/glib/tests/mainloop.c
@@ -687,7 +687,7 @@ test_blocked_child_sources (void)
   GMainLoop *loop;
   GSource *source;
 
-  g_test_bug ("701283");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=701283";);
 
   ctx = g_main_context_new ();
   loop = g_main_loop_new (ctx, FALSE);
@@ -886,7 +886,7 @@ test_mainloop_overflow (void)
   TestOverflowData data;
   guint i;
 
-  g_test_bug ("687098");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=687098";);
 
   memset (&data, 0, sizeof (data));
 
@@ -2103,7 +2103,6 @@ main (int argc, char *argv[])
   gint i;
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/maincontext/basic", test_maincontext_basic);
   g_test_add_func ("/maincontext/source_finalization", test_maincontext_source_finalization);
diff --git a/glib/tests/mem-overflow.c b/glib/tests/mem-overflow.c
index 61225b763..1654ab7fc 100644
--- a/glib/tests/mem-overflow.c
+++ b/glib/tests/mem-overflow.c
@@ -191,7 +191,7 @@ empty_alloc_subprocess (void)
 static void
 empty_alloc (void)
 {
-  g_test_bug ("615379");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=615379";);
 
   g_assert_cmpint (sizeof (Empty), ==, 0);
 
@@ -210,8 +210,6 @@ main (int   argc,
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/mem/overflow", mem_overflow);
   g_test_add_func ("/mem/overflow/subprocess/malloc_n_a_a", mem_overflow_malloc_n_a_a);
   g_test_add_func ("/mem/overflow/subprocess/malloc_n_a_b", mem_overflow_malloc_n_a_b);
diff --git a/glib/tests/option-context.c b/glib/tests/option-context.c
index 50770e704..d4ed3a94f 100644
--- a/glib/tests/option-context.c
+++ b/glib/tests/option-context.c
@@ -116,7 +116,7 @@ test_group_captions (void)
   guint i;
   gsize j;
 
-  g_test_bug ("504142");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=504142";);
 
   for (i = 0; i < 4; ++i)
     {
@@ -1775,7 +1775,7 @@ unknown_short_test (void)
   int argc;
   GOptionEntry entries [] = { G_OPTION_ENTRY_NULL };
 
-  g_test_bug ("166609");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=166609";);
 
   context = g_option_context_new (NULL);
   g_option_context_add_main_entries (context, entries, NULL);
@@ -1805,7 +1805,7 @@ lonely_dash_test (void)
   gchar **argv_copy;
   int argc;
 
-  g_test_bug ("168008");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=168008";);
 
   context = g_option_context_new (NULL);
 
@@ -1881,7 +1881,7 @@ missing_arg_test (void)
     { { "test", 't', 0, G_OPTION_ARG_STRING, &arg, NULL, NULL },
       G_OPTION_ENTRY_NULL };
 
-  g_test_bug ("305576");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=305576";);
 
   context = g_option_context_new (NULL);
   g_option_context_add_main_entries (context, entries, NULL);
@@ -1947,7 +1947,7 @@ dash_arg_test (void)
       { "three", '3', 0, G_OPTION_ARG_NONE, &argb, NULL, NULL },
       G_OPTION_ENTRY_NULL };
 
-  g_test_bug ("577638");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=577638";);
 
   context = g_option_context_new (NULL);
   g_option_context_add_main_entries (context, entries, NULL);
@@ -2172,7 +2172,7 @@ test_help_no_help_options (void)
     G_OPTION_ENTRY_NULL
   };
 
-  g_test_bug ("697652");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=697652";);
 
   context = g_option_context_new ("blabla");
   g_option_context_add_main_entries (context, entries, NULL);
@@ -2500,7 +2500,7 @@ short_remaining (void)
   gchar **argv, **argv_copy;
   gint argc;
 
-  g_test_bug ("729563");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=729563";);
 
   argv = split_string ("program -ri -n 4 -t hello file1 file2", &argc);
   argv_copy = copy_stringv (argv, argc);
@@ -2542,7 +2542,7 @@ double_free (void)
   gint argc;
   GError *error = NULL;
 
-  g_test_bug ("646926");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=646926";);
 
   argv = split_string ("program --known=foo --known=bar --unknown=baz", &argc);
 
@@ -2604,8 +2604,6 @@ main (int   argc,
   g_setenv ("LC_ALL", "C", TRUE);
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/option/help/options", test_help);
   g_test_add_func ("/option/help/no-options", test_help_no_options);
   g_test_add_func ("/option/help/no-help-options", test_help_no_help_options);
diff --git a/glib/tests/rand.c b/glib/tests/rand.c
index 94fb4e822..37f4ddd41 100644
--- a/glib/tests/rand.c
+++ b/glib/tests/rand.c
@@ -160,7 +160,7 @@ test_double_range (void)
 {
   gdouble d;
 
-  g_test_bug ("502560");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=502560";);
 
   d = g_random_double_range (-G_MAXDOUBLE, G_MAXDOUBLE);
 
@@ -173,7 +173,6 @@ main (int   argc,
       char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/rand/test-rand", test_rand);
   g_test_add_func ("/rand/double-range", test_double_range);
diff --git a/glib/tests/regex.c b/glib/tests/regex.c
index c57bd8cdc..60ab2f9df 100644
--- a/glib/tests/regex.c
+++ b/glib/tests/regex.c
@@ -2124,7 +2124,7 @@ test_multiline (void)
   GMatchInfo *info;
   gint count;
 
-  g_test_bug ("640489");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=640489";);
 
   regex = g_regex_new ("^a$", G_REGEX_MULTILINE|G_REGEX_DOTALL, 0, NULL);
 
@@ -2194,8 +2194,6 @@ main (int argc, char *argv[])
 
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/regex/properties", test_properties);
   g_test_add_func ("/regex/class", test_class);
   g_test_add_func ("/regex/lookahead", test_lookahead);
diff --git a/glib/tests/utils.c b/glib/tests/utils.c
index 2c5d16c3a..edd403671 100644
--- a/glib/tests/utils.c
+++ b/glib/tests/utils.c
@@ -161,7 +161,7 @@ test_appname (void)
 static void
 test_tmpdir (void)
 {
-  g_test_bug ("627969");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=627969";);
   g_assert_cmpstr (g_get_tmp_dir (), !=, "");
 }
 
@@ -829,7 +829,6 @@ main (int   argc,
   g_set_prgname (argv[0]);
 
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/utils/language-names", test_language_names);
   g_test_add_func ("/utils/locale-variants", test_locale_variants);
diff --git a/gobject/tests/binding.c b/gobject/tests/binding.c
index 61002f4fb..e63dd1e6e 100644
--- a/gobject/tests/binding.c
+++ b/gobject/tests/binding.c
@@ -574,8 +574,7 @@ binding_chain (void)
   BindingSource *c = g_object_new (binding_source_get_type (), NULL);
   GBinding *binding_1, *binding_2;
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-  g_test_bug ("621782");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=621782";);
 
   /* A -> B, B -> C */
   binding_1 = g_object_bind_property (a, "foo", b, "foo", G_BINDING_BIDIRECTIONAL);
@@ -794,7 +793,7 @@ binding_unbind_multiple (void)
   GBinding *binding;
   guint i;
 
-  g_test_bug ("1373");
+  g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/1373";);
 
   binding = g_object_bind_property (source, "foo",
                                     target, "bar",
@@ -1081,8 +1080,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/issues/";);
-
   g_test_add_func ("/binding/default", binding_default);
   g_test_add_func ("/binding/canonicalisation", binding_canonicalisation);
   g_test_add_func ("/binding/bidirectional", binding_bidirectional);
diff --git a/gobject/tests/ifaceproperties.c b/gobject/tests/ifaceproperties.c
index 4d0053eea..cb7acf4ec 100644
--- a/gobject/tests/ifaceproperties.c
+++ b/gobject/tests/ifaceproperties.c
@@ -618,7 +618,7 @@ test_not_overridden (void)
   if (!g_test_undefined ())
     return;
 
-  g_test_bug ("637738");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=637738";);
 
   g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
                          "*Base2Object doesn't implement property 'prop3' from interface 'TestIface'*");
@@ -632,7 +632,6 @@ int
 main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/interface/properties/set", test_set);
   g_test_add_func ("/interface/properties/notify", test_notify);
diff --git a/gobject/tests/object.c b/gobject/tests/object.c
index 3e85995c2..2519b0034 100644
--- a/gobject/tests/object.c
+++ b/gobject/tests/object.c
@@ -122,7 +122,7 @@ test_object_constructor_infanticide (void)
   GObject *obj;
   int i;
 
-  g_test_bug ("661576");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=661576";);
 
   for (i = 0; i < 1000; i++)
     {
@@ -142,7 +142,6 @@ int
 main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
 
   g_test_add_func ("/object/constructor/singleton", test_object_constructor_singleton);
   g_test_add_func ("/object/constructor/infanticide", test_object_constructor_infanticide);
diff --git a/gobject/tests/properties.c b/gobject/tests/properties.c
index 297713d5a..3695ee123 100644
--- a/gobject/tests/properties.c
+++ b/gobject/tests/properties.c
@@ -322,7 +322,7 @@ properties_construct (void)
   gboolean b;
   gchar *s;
 
-  g_test_bug ("630357");
+  g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=630357";);
 
   /* more than 16 args triggers a realloc in g_object_new_valist() */
   obj = g_object_new (test_object_get_type (),
@@ -638,8 +638,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/properties/install", properties_install);
   g_test_add_func ("/properties/notify", properties_notify);
   g_test_add_func ("/properties/notify-queue", properties_notify_queue);


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