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>
This commit is contained in:
Philip Withnall
2021-05-13 22:12:29 +01:00
parent 46ab6821a3
commit 7e9585177d
44 changed files with 66 additions and 127 deletions

View File

@@ -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 */