commit:     eca45305abe00588dc2c8b87c79d64d557549ae0
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  9 17:58:11 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Dec  9 17:58:23 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=eca45305

testing got fixed upstream

Package-Manager: portage-2.2.14

---
 dev-cpp/icnc/ChangeLog        |  3 +++
 dev-cpp/icnc/icnc-9999.ebuild | 14 ++------------
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/dev-cpp/icnc/ChangeLog b/dev-cpp/icnc/ChangeLog
index 133507f..238b967 100644
--- a/dev-cpp/icnc/ChangeLog
+++ b/dev-cpp/icnc/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  09 Dec 2014; Christoph Junghans <[email protected]> icnc-9999.ebuild:
+  testing got fixed upstream
+
   08 Dec 2014; Christoph Junghans <[email protected]> icnc-9999.ebuild:
   sync with gx86
 

diff --git a/dev-cpp/icnc/icnc-9999.ebuild b/dev-cpp/icnc/icnc-9999.ebuild
index 8d4f5dd..e0a5704 100644
--- a/dev-cpp/icnc/icnc-9999.ebuild
+++ b/dev-cpp/icnc/icnc-9999.ebuild
@@ -23,7 +23,6 @@ fi
 LICENSE="BSD"
 SLOT="0"
 IUSE="doc examples mpi test"
-RESTRICT="test" #currently tests only work if icnc is already installed
 
 RDEPEND="
        >=dev-cpp/tbb-4.2
@@ -39,23 +38,14 @@ src_configure() {
        local mycmakeargs=(
                $(cmake-utils_use mpi BUILD_LIBS_FOR_MPI)
                -DLIB=$(get_libdir)
+               $(cmake-utils_use test ENABLE_TESTING)
+               -DRUN_DIST=OFF
        )
        cmake-utils_src_configure
-       if use test ; then
-               mycmakeargs=( -DRUN_DIST=OFF )
-               CMAKE_USE_DIR="${S}/tests" \
-                       BUILD_DIR="${WORKDIR}/${P}_tests_build" \
-                       cmake-utils_src_configure
-       fi
 }
 
 src_compile() {
        cmake-utils_src_compile
-       use test && BUILD_DIR="${WORKDIR}/${P}_tests_build" 
cmake-utils_src_compile
-}
-
-src_test() {
-       BUILD_DIR="${WORKDIR}/${P}_tests_build" cmake-utils_src_test
 }
 
 src_install() {

Reply via email to