aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2014-12-09 10:58:11 -0700
committerChristoph Junghans <ottxor@gentoo.org>2014-12-09 10:58:23 -0700
commiteca45305abe00588dc2c8b87c79d64d557549ae0 (patch)
tree7df3db63f0edf6e453b22bdc5e3ed3725767439b /dev-cpp/icnc
parentsync with gx86 (diff)
downloadsci-eca45305abe00588dc2c8b87c79d64d557549ae0.tar.gz
sci-eca45305abe00588dc2c8b87c79d64d557549ae0.tar.bz2
sci-eca45305abe00588dc2c8b87c79d64d557549ae0.zip
testing got fixed upstream
Package-Manager: portage-2.2.14
Diffstat (limited to 'dev-cpp/icnc')
-rw-r--r--dev-cpp/icnc/ChangeLog3
-rw-r--r--dev-cpp/icnc/icnc-9999.ebuild14
2 files changed, 5 insertions, 12 deletions
diff --git a/dev-cpp/icnc/ChangeLog b/dev-cpp/icnc/ChangeLog
index 133507f2f..238b96754 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 <ottxor@gentoo.org> icnc-9999.ebuild:
+ testing got fixed upstream
+
08 Dec 2014; Christoph Junghans <ottxor@gentoo.org> icnc-9999.ebuild:
sync with gx86
diff --git a/dev-cpp/icnc/icnc-9999.ebuild b/dev-cpp/icnc/icnc-9999.ebuild
index 8d4f5ddfd..e0a57042a 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() {