commit:     1240b9e786d0f04d981e0e81c0a987579bc3ccf0
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 13:32:31 2018 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 13:35:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1240b9e7

sci-libs/blas-reference: Fix test phase

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-libs/blas-reference/blas-reference-20151113-r1.ebuild | 7 ++++++-
 sci-libs/blas-reference/blas-reference-20161223.ebuild    | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild 
b/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
index 274ff207811..03c81208521 100644
--- a/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
+++ b/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -54,6 +54,11 @@ src_compile() {
        cmake-utils_src_compile -C BLAS
 }
 
+src_test() {
+       local BUILD_DIR="${WORKDIR}/${P}_build/BLAS"
+       cmake-utils_src_test
+}
+
 src_install() {
        cmake-utils_src_install -C BLAS
 

diff --git a/sci-libs/blas-reference/blas-reference-20161223.ebuild 
b/sci-libs/blas-reference/blas-reference-20161223.ebuild
index 65ef230c137..d896c267677 100644
--- a/sci-libs/blas-reference/blas-reference-20161223.ebuild
+++ b/sci-libs/blas-reference/blas-reference-20161223.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -54,6 +54,11 @@ src_compile() {
        cmake-utils_src_compile -C BLAS
 }
 
+src_test() {
+       local BUILD_DIR="${WORKDIR}/${P}_build/BLAS"
+       cmake-utils_src_test
+}
+
 src_install() {
        cmake-utils_src_install -C BLAS
 

Reply via email to