public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergey Torokhov" <torokhov-s-a@yandex.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-physics/SU2/
Date: Wed, 15 Sep 2021 21:43:14 +0000 (UTC)	[thread overview]
Message-ID: <1631741843.8dc8d4025018d2db2c1ceffdfa6a3f1daec872a8.SergeyTorokhov@gentoo> (raw)

commit:     8dc8d4025018d2db2c1ceffdfa6a3f1daec872a8
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Wed Sep 15 21:37:23 2021 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Wed Sep 15 21:37:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8dc8d402

sci-physics/SU2: Disable pywrapper tests. Fix axi_visccone test

USE="tutorials" tests now run before parallel_regression.py tests
as turorials tests have no fails currently.

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 sci-physics/SU2/SU2-7.1.1.ebuild |  5 ++++-
 sci-physics/SU2/SU2-7.2.0.ebuild | 10 +++++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/sci-physics/SU2/SU2-7.1.1.ebuild b/sci-physics/SU2/SU2-7.1.1.ebuild
index 87b3d2328..899b5d72f 100644
--- a/sci-physics/SU2/SU2-7.1.1.ebuild
+++ b/sci-physics/SU2/SU2-7.1.1.ebuild
@@ -74,6 +74,9 @@ src_prepare(){
 	if has_version ">=dev-libs/boost-1.75.0" ; then
 		sed -i -e 's:cpp_std=c++11:cpp_std=c++14:' meson.build || die
 	fi
+
+	# Disable python-wrapper tests
+	sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die
 }
 
 src_configure() {
@@ -111,10 +114,10 @@ src_test() {
 
 	pushd TestCases/ || die
 	if use mpi ; then
-		${EPYTHON} parallel_regression.py || die
 		if use tutorials ; then
 			${EPYTHON} tutorials.py || die
 		fi
+		${EPYTHON} parallel_regression.py || die
 	else
 		${EPYTHON} serial_regression.py || die
 	fi

diff --git a/sci-physics/SU2/SU2-7.2.0.ebuild b/sci-physics/SU2/SU2-7.2.0.ebuild
index e211c5388..7b3091907 100644
--- a/sci-physics/SU2/SU2-7.2.0.ebuild
+++ b/sci-physics/SU2/SU2-7.2.0.ebuild
@@ -76,6 +76,14 @@ src_prepare(){
 
 	# Force Disable parmetis support in meson.build (configure.ac has optional switch)
 	use !parmetis && { sed -i -e "/parmetis/Id" meson.build || die ; }
+
+	# Disable python-wrapper tests
+	sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die
+
+	# Copy absence mesh file
+	if use test ; then
+		cp "${S}/TestCases/nonequilibrium/viscwedge/viscwedge.su2" "${S}/TestCases/nonequilibrium/axi_visccone/" || die
+	fi
 }
 
 src_configure() {
@@ -113,10 +121,10 @@ src_test() {
 
 	pushd TestCases/ || die
 	if use mpi ; then
-		${EPYTHON} parallel_regression.py || die
 		if use tutorials ; then
 			${EPYTHON} tutorials.py || die
 		fi
+		${EPYTHON} parallel_regression.py || die
 	else
 		${EPYTHON} serial_regression.py || die
 	fi


             reply	other threads:[~2021-09-15 21:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15 21:43 Sergey Torokhov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-23 10:44 [gentoo-commits] repo/proj/guru:dev commit in: sci-physics/SU2/ Sergey Torokhov
2023-04-23  9:48 Sergey Torokhov
2022-12-09 16:52 Sergey Torokhov
2022-12-09 16:52 Sergey Torokhov
2022-12-08 22:44 Sergey Torokhov
2022-05-28 13:45 Alessandro Barbieri
2021-10-27 20:55 Sergey Torokhov
2021-10-24 21:07 Sergey Torokhov
2021-10-15 16:20 Sergey Torokhov
2021-09-05 10:45 Sergey Torokhov
2021-08-31 14:07 Sergey Torokhov
2021-08-31 14:07 Sergey Torokhov
2021-05-30 15:59 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-30 15:59 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-28 10:52 Andrew Ammerlaan
2021-03-22 20:14 Sergey Torokhov
2021-03-10 20:02 Sergey Torokhov
2021-01-05 14:00 Sergey Torokhov
2021-01-05 13:54 Sergey Torokhov

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=1631741843.8dc8d4025018d2db2c1ceffdfa6a3f1daec872a8.SergeyTorokhov@gentoo \
    --to=torokhov-s-a@yandex.ru \
    --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