summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-17 08:38:38 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-17 09:01:36 -0800
commit35eed89c651c87a5e9950f3033c1516358456425 (patch)
tree530d57e63a90533095c47941f9e0ac2bcc817871
parent1aaf5d502027104ddd566090787780319f510278 (diff)
tests: update g_test_bug_base url from bugzilla to gitlab
Also adds a call to g_test_bug() for the one existing testcase associated with a bug in a public bug tracker. Otherwise this is mostly a placeholder for now, as no other tests call g_test_bug() yet to report what bugs they test for. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--test/Alloc.c2
-rw-r--r--test/Converters.c2
-rw-r--r--test/Event.c5
3 files changed, 6 insertions, 3 deletions
diff --git a/test/Alloc.c b/test/Alloc.c
index 7f02e19..88eca68 100644
--- a/test/Alloc.c
+++ b/test/Alloc.c
@@ -103,7 +103,7 @@ int main(int argc, char** argv)
program_name = argv[0];
g_test_init(&argc, &argv, NULL);
- g_test_bug_base("https://bugzilla.freedesktop.org/show_bug.cgi?id=");
+ g_test_bug_base("https://gitlab.freedesktop.org/xorg/lib/libxt/-/issues/");
g_test_add_func("/Alloc/XtAsprintf/short", test_XtAsprintf_short);
g_test_add_func("/Alloc/XtAsprintf/long", test_XtAsprintf_long);
diff --git a/test/Converters.c b/test/Converters.c
index 46e7f5a..ef3c37c 100644
--- a/test/Converters.c
+++ b/test/Converters.c
@@ -75,7 +75,7 @@ static void test_XtCvtIntToPixmap(void)
int main(int argc, char** argv)
{
g_test_init(&argc, &argv, NULL);
- g_test_bug_base("https://bugzilla.freedesktop.org/show_bug.cgi?id=");
+ g_test_bug_base("https://gitlab.freedesktop.org/xorg/lib/libxt/-/issues/");
g_test_add_func("/Converters/XtCvtIntToPixmap", test_XtCvtIntToPixmap);
diff --git a/test/Event.c b/test/Event.c
index bd80c8c..a2f99f9 100644
--- a/test/Event.c
+++ b/test/Event.c
@@ -57,6 +57,9 @@ static void test_XtAppMainLoop_34715(void)
XtAppContext app;
struct sigaction sa;
+ g_test_bug_base("https://bugzilla.freedesktop.org/show_bug.cgi?id=");
+ g_test_bug("34715");
+
XtToolkitInitialize();
app = XtCreateApplicationContext();
XtAppAddTimeOut(app, 1000, _Tick, app);
@@ -83,7 +86,7 @@ static void test_XtAppMainLoop_34715(void)
int main(int argc, char** argv)
{
g_test_init(&argc, &argv, NULL);
- g_test_bug_base("https://bugzilla.freedesktop.org/show_bug.cgi?id=");
+ g_test_bug_base("https://gitlab.freedesktop.org/xorg/lib/libxt/-/issues/");
g_test_add_func("/Event/XtAppMainLoop/34715", test_XtAppMainLoop_34715);