public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@astralcloak.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/rocs/
Date: Tue, 15 May 2012 15:16:08 +0000 (UTC)	[thread overview]
Message-ID: <1337094926.205bb4e494e6ca83456b8dab160003a9a26e0752.kensington@gentoo> (raw)

commit:     205bb4e494e6ca83456b8dab160003a9a26e0752
Author:     Michael Palimaka <kensington <AT> astralcloak <DOT> net>
AuthorDate: Tue May 15 15:14:32 2012 +0000
Commit:     Michael Palimaka <kensington <AT> astralcloak <DOT> net>
CommitDate: Tue May 15 15:15:26 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=205bb4e4

[kde-base/rocs] Add custom src_test phase to run tests correctly.

(Portage version: 2.1.10.60/git/Linux x86_64, unsigned Manifest commit)

---
 kde-base/rocs/rocs-9999.ebuild |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/kde-base/rocs/rocs-9999.ebuild b/kde-base/rocs/rocs-9999.ebuild
index 47ee437..1e4082c 100644
--- a/kde-base/rocs/rocs-9999.ebuild
+++ b/kde-base/rocs/rocs-9999.ebuild
@@ -18,5 +18,14 @@ DEPEND="
 	>=dev-cpp/eigen-2.0.3:2
 "
 
-RESTRICT="test"
-# bug 376909
+src_test() {
+	local mycmakeargs=(-DKDE4_BUILD_TESTS=ON)
+	cmake-utils_src_configure
+	kde4-base_src_compile
+
+	cd "${CMAKE_BUILD_DIR}"
+	emake DESTDIR="${T}/tests" install
+	export KDEDIRS="${KDEDIRS}:${T}/tests/${PREFIX}"
+	kbuildsycoca4
+	ctest || die "tests failed"
+}



             reply	other threads:[~2012-05-15 15:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 15:16 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-10-17 19:26 [gentoo-commits] proj/kde:master commit in: kde-base/rocs/ Johannes Huber
2013-08-06  8:55 Michael Palimaka
2013-07-31 21:36 Johannes Huber
2013-06-21 16:34 Andreas Hüttel
2013-03-03 15:56 Michael Palimaka
2012-11-18 10:03 Andreas Hüttel
2012-05-20 18:21 Michael Palimaka
2012-05-15 16:32 Michael Palimaka
2012-02-09 14:48 Johannes Huber
2011-08-27  7:46 Andreas Hüttel
2011-08-20 20:54 Andreas Hüttel
2011-05-30  2:23 Jorge Manuel B. S. Vicetto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337094926.205bb4e494e6ca83456b8dab160003a9a26e0752.kensington@gentoo \
    --to=kensington@astralcloak.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox