diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-12-09 20:53:33 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2018-12-20 00:55:36 +0000 |
commit | 7223816fe8885ec4220f649e13e1f32ad2ca2385 (patch) | |
tree | 2f0cb7dc30ac53c7ac05d649b31680733946cc38 | |
parent | 4c3d66f0b8a1f27c5ccb2027fa612eef2904ef6a (diff) | |
download | meta-qt5-7223816fe8885ec4220f649e13e1f32ad2ca2385.tar.gz |
maliit: Disable tests
They do not build reliably, especially when using clang
Fixes
| ../../../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",
| ~~ ^ ~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-qt/maliit/maliit-framework-qt5_git.bb | 4 | ||||
-rw-r--r-- | recipes-qt/maliit/maliit-plugins-qt5_git.bb | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/recipes-qt/maliit/maliit-framework-qt5_git.bb b/recipes-qt/maliit/maliit-framework-qt5_git.bb index fabb43ee..232e8252 100644 --- a/recipes-qt/maliit/maliit-framework-qt5_git.bb +++ b/recipes-qt/maliit/maliit-framework-qt5_git.bb | |||
@@ -57,6 +57,10 @@ EXTRA_QMAKEVARS_PRE = "\ | |||
57 | CONFIG+=enable-dbus-activation \ | 57 | CONFIG+=enable-dbus-activation \ |
58 | CONFIG+=qt5-inputcontext \ | 58 | CONFIG+=qt5-inputcontext \ |
59 | " | 59 | " |
60 | |||
61 | # tests fail to build with clang | ||
62 | EXTRA_QMAKEVARS_PRE_append_toolchain-clang = " CONFIG+=notests" | ||
63 | |||
60 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" | 64 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" |
61 | 65 | ||
62 | do_install_append() { | 66 | do_install_append() { |
diff --git a/recipes-qt/maliit/maliit-plugins-qt5_git.bb b/recipes-qt/maliit/maliit-plugins-qt5_git.bb index 54bc7432..8225cb54 100644 --- a/recipes-qt/maliit/maliit-plugins-qt5_git.bb +++ b/recipes-qt/maliit/maliit-plugins-qt5_git.bb | |||
@@ -23,6 +23,9 @@ EXTRA_QMAKEVARS_PRE = "\ | |||
23 | CONFIG+=nodoc \ | 23 | CONFIG+=nodoc \ |
24 | " | 24 | " |
25 | 25 | ||
26 | # tests fail to build with clang | ||
27 | EXTRA_QMAKEVARS_PRE_append_toolchain-clang = " CONFIG+=notests" | ||
28 | |||
26 | FILES_${PN} += "\ | 29 | FILES_${PN} += "\ |
27 | ${libdir}/maliit \ | 30 | ${libdir}/maliit \ |
28 | ${datadir} \ | 31 | ${datadir} \ |