From 881347b9c20a2529726fbf61edf986213011d5ba Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 15 Jan 2024 00:14:56 +0100 Subject: [PATCH] [locale,packagechooser] (Auto-)Tests should not require GUI --- src/modules/locale/Tests.cpp | 2 +- src/modules/packagechooser/Tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/locale/Tests.cpp b/src/modules/locale/Tests.cpp index 896ca4ac4..bc92a8882 100644 --- a/src/modules/locale/Tests.cpp +++ b/src/modules/locale/Tests.cpp @@ -66,7 +66,7 @@ private: QStringList m_FreeBSDLocales; }; -QTEST_MAIN( LocaleTests ) +QTEST_GUILESS_MAIN( LocaleTests ) LocaleTests::LocaleTests() {} diff --git a/src/modules/packagechooser/Tests.cpp b/src/modules/packagechooser/Tests.cpp index 533c07031..74564dab2 100644 --- a/src/modules/packagechooser/Tests.cpp +++ b/src/modules/packagechooser/Tests.cpp @@ -21,7 +21,7 @@ #include -QTEST_MAIN( PackageChooserTests ) +QTEST_GUILESS_MAIN( PackageChooserTests ) PackageChooserTests::PackageChooserTests() {}