From eafac7178683c9fe5ab50192dec004f24638b2f4 Mon Sep 17 00:00:00 2001
From: Marc Ferland <marc.ferland@sonatest.com>
Date: Fri, 26 Jul 2024 15:41:00 -0400
Subject: [PATCH] Do not build qt/tests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fixes the following build failure:

| In file included from /home/marc/mnt/yocto-kde/build/tmp/work/x86_64-linux/appstream-native/1.0.3/recipe-sysroot-native/usr/include/QtTest/QtTest:11,
|                  from ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp:21:
| ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp: In function ‘int main(int, char**)’:
| ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp:117:1: error: expected primary-expression before ‘)’ token
|   117 | QTEST_MAIN(PoolReadTest)
|       | ^~~~~~~~~~

Upstream-Status: Inappropriate [oe-specific]

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
---
 qt/meson.build | 2 --
 1 file changed, 2 deletions(-)

diff --git a/qt/meson.build b/qt/meson.build
index 7d9ed7d..e319425 100644
--- a/qt/meson.build
+++ b/qt/meson.build
@@ -150,5 +150,3 @@ install_data (
 
 # end of Qt version loop
 endforeach
-
-subdir('tests/')
