summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2018-12-24 07:34:41 +0100
committerDavide Pesavento <pesa@gentoo.org>2018-12-24 07:35:10 +0100
commit0e54d903b2acb714017d1ee2b6ed2f59d2125f17 (patch)
tree42cc51eafc79e5ae59dbb856042d1f4183bcc8ba /dev-qt
parentsys-fs/clamfs: remove old (diff)
downloadgentoo-0e54d903b2acb714017d1ee2b6ed2f59d2125f17.tar.gz
gentoo-0e54d903b2acb714017d1ee2b6ed2f59d2125f17.tar.bz2
gentoo-0e54d903b2acb714017d1ee2b6ed2f59d2125f17.zip
dev-qt/qt-creator: several test fixes
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Davide Pesavento <pesa@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qt-creator/qt-creator-4.8.0.ebuild17
-rw-r--r--dev-qt/qt-creator/qt-creator-9999.ebuild17
2 files changed, 18 insertions, 16 deletions
diff --git a/dev-qt/qt-creator/qt-creator-4.8.0.ebuild b/dev-qt/qt-creator/qt-creator-4.8.0.ebuild
index e08af8921a15..207b4b6cbf83 100644
--- a/dev-qt/qt-creator/qt-creator-4.8.0.ebuild
+++ b/dev-qt/qt-creator/qt-creator-4.8.0.ebuild
@@ -116,11 +116,15 @@ src_prepare() {
sed -i -e '/glsl/d' src/libs/libs.pro || die
fi
if ! use lsp; then
- sed -i -e '/languageserverprotocol/d' src/libs/libs.pro || die
+ sed -i -e '/languageserverprotocol/d' src/libs/libs.pro tests/auto/auto.pro || die
fi
if ! use modeling; then
sed -i -e '/modelinglib/d' src/libs/libs.pro || die
fi
+ if ! use valgrind; then
+ sed -i -e '/valgrindfake/d' src/tools/tools.pro || die
+ sed -i -e '/valgrind/d' tests/auto/auto.pro || die
+ fi
# automagic dep on qtwebengine
if ! use webengine; then
@@ -129,21 +133,18 @@ src_prepare() {
# disable broken or unreliable tests
sed -i -e 's/\(manual\|tools\|unit\)//g' tests/tests.pro || die
- sed -i -e '/sdktool/ d' tests/auto/auto.pro || die
- sed -i -e '/\(dumpers\|offsets\)\.pro/ d' tests/auto/debugger/debugger.pro || die
- sed -i -e '/CONFIG -=/ s/$/ testcase/' tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin?/plugin?.pro || die
- sed -i -e '/timeline\(items\|notes\|selection\)renderpass/ d' tests/auto/tracing/tracing.pro || die
- sed -i -e 's/\<memcheck\>//' tests/auto/valgrind/valgrind.pro || die
+ sed -i -e '/\(dumpers\|namedemangler\)\.pro/d' tests/auto/debugger/debugger.pro || die
+ sed -i -e '/CONFIG -=/s/$/ testcase/' tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin?/plugin?.pro || die
# fix path to some clang headers
- sed -i -e "/^CLANG_RESOURCE_DIR\s*=/ s:\$\${LLVM_LIBDIR}:${EPREFIX}/usr/lib:" src/shared/clang/clang_defines.pri || die
+ sed -i -e "/^CLANG_RESOURCE_DIR\s*=/s:\$\${LLVM_LIBDIR}:${EPREFIX}/usr/lib:" src/shared/clang/clang_defines.pri || die
# fix translations
local lang languages=
for lang in ${PLOCALES}; do
use l10n_${lang} && languages+=" ${lang/-/_}"
done
- sed -i -e "/^LANGUAGES\s*=/ s:=.*:=${languages}:" share/qtcreator/translations/translations.pro || die
+ sed -i -e "/^LANGUAGES\s*=/s:=.*:=${languages}:" share/qtcreator/translations/translations.pro || die
# remove bundled botan
rm -rf src/libs/3rdparty/botan || die
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index e08af8921a15..207b4b6cbf83 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -116,11 +116,15 @@ src_prepare() {
sed -i -e '/glsl/d' src/libs/libs.pro || die
fi
if ! use lsp; then
- sed -i -e '/languageserverprotocol/d' src/libs/libs.pro || die
+ sed -i -e '/languageserverprotocol/d' src/libs/libs.pro tests/auto/auto.pro || die
fi
if ! use modeling; then
sed -i -e '/modelinglib/d' src/libs/libs.pro || die
fi
+ if ! use valgrind; then
+ sed -i -e '/valgrindfake/d' src/tools/tools.pro || die
+ sed -i -e '/valgrind/d' tests/auto/auto.pro || die
+ fi
# automagic dep on qtwebengine
if ! use webengine; then
@@ -129,21 +133,18 @@ src_prepare() {
# disable broken or unreliable tests
sed -i -e 's/\(manual\|tools\|unit\)//g' tests/tests.pro || die
- sed -i -e '/sdktool/ d' tests/auto/auto.pro || die
- sed -i -e '/\(dumpers\|offsets\)\.pro/ d' tests/auto/debugger/debugger.pro || die
- sed -i -e '/CONFIG -=/ s/$/ testcase/' tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin?/plugin?.pro || die
- sed -i -e '/timeline\(items\|notes\|selection\)renderpass/ d' tests/auto/tracing/tracing.pro || die
- sed -i -e 's/\<memcheck\>//' tests/auto/valgrind/valgrind.pro || die
+ sed -i -e '/\(dumpers\|namedemangler\)\.pro/d' tests/auto/debugger/debugger.pro || die
+ sed -i -e '/CONFIG -=/s/$/ testcase/' tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin?/plugin?.pro || die
# fix path to some clang headers
- sed -i -e "/^CLANG_RESOURCE_DIR\s*=/ s:\$\${LLVM_LIBDIR}:${EPREFIX}/usr/lib:" src/shared/clang/clang_defines.pri || die
+ sed -i -e "/^CLANG_RESOURCE_DIR\s*=/s:\$\${LLVM_LIBDIR}:${EPREFIX}/usr/lib:" src/shared/clang/clang_defines.pri || die
# fix translations
local lang languages=
for lang in ${PLOCALES}; do
use l10n_${lang} && languages+=" ${lang/-/_}"
done
- sed -i -e "/^LANGUAGES\s*=/ s:=.*:=${languages}:" share/qtcreator/translations/translations.pro || die
+ sed -i -e "/^LANGUAGES\s*=/s:=.*:=${languages}:" share/qtcreator/translations/translations.pro || die
# remove bundled botan
rm -rf src/libs/3rdparty/botan || die