From e01d691aa684d0d1247f772b7c537ec3254bb9bc Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 27 Mar 2023 18:03:13 -0700 Subject: test: Use PACKAGE_BUGREPORT instead of hard-coded URL's Signed-off-by: Alan Coopersmith --- configure.ac | 2 +- test/XpmCreate.c | 2 +- test/XpmMisc.c | 2 +- test/XpmRead.c | 2 +- test/XpmWrite.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index a1c28a8..3eeb755 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([libXpm], [3.5.15], - [https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues], [libXpm]) + [https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/], [libXpm]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/test/XpmCreate.c b/test/XpmCreate.c index 6c3d990..78bfd29 100644 --- a/test/XpmCreate.c +++ b/test/XpmCreate.c @@ -118,7 +118,7 @@ int main(int argc, char** argv) { g_test_init(&argc, &argv, NULL); - g_test_bug_base("https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/"); + g_test_bug_base(PACKAGE_BUGREPORT); g_test_add_func("/XpmCreate/XpmCreateXpmImageFromData", test_XpmCreateXpmImageFromData); diff --git a/test/XpmMisc.c b/test/XpmMisc.c index d989887..ef53c84 100644 --- a/test/XpmMisc.c +++ b/test/XpmMisc.c @@ -78,7 +78,7 @@ int main(int argc, char** argv) { g_test_init(&argc, &argv, NULL); - g_test_bug_base("https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/"); + g_test_bug_base(PACKAGE_BUGREPORT); g_test_add_func("/XpmMisc/XpmAttributesSize", test_XpmAttributesSize); diff --git a/test/XpmRead.c b/test/XpmRead.c index e1896ee..df7a826 100644 --- a/test/XpmRead.c +++ b/test/XpmRead.c @@ -182,7 +182,7 @@ int main(int argc, char** argv) { g_test_init(&argc, &argv, NULL); - g_test_bug_base("https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/"); + g_test_bug_base(PACKAGE_BUGREPORT); g_test_add_func("/XpmRead/XpmReadFileToXpmImage", test_XpmReadFileToXpmImage); diff --git a/test/XpmWrite.c b/test/XpmWrite.c index 10b6207..49b5b21 100644 --- a/test/XpmWrite.c +++ b/test/XpmWrite.c @@ -330,7 +330,7 @@ int main(int argc, char** argv) { g_test_init(&argc, &argv, NULL); - g_test_bug_base("https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/"); + g_test_bug_base(PACKAGE_BUGREPORT); g_test_add_func("/XpmRead/XpmWriteFileFromXpmImage", -- cgit v1.2.1