From 851a0ad540c41cfa6c09d66cd8fec15b63149492 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 14 Apr 2022 07:56:02 -0700 Subject: [PATCH] maliit-framework-qt5, maliit-plugins-qt5: Disable tests for gcc too gcc12 has started failing with same error like clang | ../../../recipe-sysroot/usr/include/QtTest/qtestcase.h:340:34: error: invalid operands to binary expression ('const MImServerCommonOptions' and 'const MImServerCommonOptions') | return compare_helper(t1 == t2, "Compared values are not the same", | ~~ ^ ~~ There do not keep it clang specific anymore Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- recipes-qt/maliit/maliit-framework-qt5_git.bb | 4 ++-- recipes-qt/maliit/maliit-plugins-qt5_git.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-qt/maliit/maliit-framework-qt5_git.bb b/recipes-qt/maliit/maliit-framework-qt5_git.bb index 5ded0b7..1df83e7 100644 --- a/recipes-qt/maliit/maliit-framework-qt5_git.bb +++ b/recipes-qt/maliit/maliit-framework-qt5_git.bb @@ -61,8 +61,8 @@ EXTRA_QMAKEVARS_PRE = "\ CONFIG+=qt5-inputcontext \ " -# tests fail to build with clang -EXTRA_QMAKEVARS_PRE:append:toolchain-clang = " CONFIG+=notests" +# tests fail to build with gcc12/clang +EXTRA_QMAKEVARS_PRE:append = " CONFIG+=notests" EXTRA_OEMAKE += "INSTALL_ROOT=${D}" diff --git a/recipes-qt/maliit/maliit-plugins-qt5_git.bb b/recipes-qt/maliit/maliit-plugins-qt5_git.bb index 38e8285..d057641 100644 --- a/recipes-qt/maliit/maliit-plugins-qt5_git.bb +++ b/recipes-qt/maliit/maliit-plugins-qt5_git.bb @@ -27,8 +27,8 @@ EXTRA_QMAKEVARS_PRE = "\ CONFIG+=nodoc \ " -# tests fail to build with clang -EXTRA_QMAKEVARS_PRE:append:toolchain-clang = " CONFIG+=notests" +# tests fail to build with gcc12/clang +EXTRA_QMAKEVARS_PRE:append = " CONFIG+=notests" FILES:${PN} += "\ ${libdir}/maliit \