summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2018-04-30 05:05:07 +0200
committerDavide Pesavento <pesa@gentoo.org>2018-04-30 05:09:32 +0200
commita06cdf4161b4dae04afb2cb5e2487df8c9c83147 (patch)
treee88add4a9dff971ae664020abd0e5068dcf071d8 /dev-util/qbs
parentdev-util/qbs: 1.11 version bump (diff)
downloadgentoo-a06cdf4161b4dae04afb2cb5e2487df8c9c83147.tar.gz
gentoo-a06cdf4161b4dae04afb2cb5e2487df8c9c83147.tar.bz2
gentoo-a06cdf4161b4dae04afb2cb5e2487df8c9c83147.zip
dev-util/qbs: fix and reenable TestApi tests
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'dev-util/qbs')
-rw-r--r--dev-util/qbs/qbs-1.11.0.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-util/qbs/qbs-1.11.0.ebuild b/dev-util/qbs/qbs-1.11.0.ebuild
index bfadc6296da0..4971aeed8202 100644
--- a/dev-util/qbs/qbs-1.11.0.ebuild
+++ b/dev-util/qbs/qbs-1.11.0.ebuild
@@ -53,9 +53,6 @@ src_prepare() {
echo "SUBDIRS = $(usex test auto '')" >> tests/tests.pro
- # since 1.10, TestApi is either broken or requires more configuration
- sed -i -e '/\<api\>/ d' tests/auto/auto.pro || die
-
# skip several tests that fail and/or have additional deps
sed -i \
-e 's/findArchiver("7z")/""/' `# requires p7zip, fails` \
@@ -86,9 +83,10 @@ src_test() {
export HOME=${T}
export LD_LIBRARY_PATH=${S}/$(get_libdir)
+ export QBS_AUTOTEST_PROFILE=autotests
- "${S}"/bin/qbs-setup-toolchains /usr/bin/gcc gcc || die
- "${S}"/bin/qbs-setup-qt "$(qt5_get_bindir)/qmake" qbs_autotests || die
+ "${S}"/bin/qbs-setup-toolchains --detect || die
+ "${S}"/bin/qbs-setup-qt "$(qt5_get_bindir)/qmake" autotests || die
einfo "Running autotests"