1 |
commit: 8dc8d4025018d2db2c1ceffdfa6a3f1daec872a8 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Wed Sep 15 21:37:23 2021 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Wed Sep 15 21:37:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8dc8d402 |
7 |
|
8 |
sci-physics/SU2: Disable pywrapper tests. Fix axi_visccone test |
9 |
|
10 |
USE="tutorials" tests now run before parallel_regression.py tests |
11 |
as turorials tests have no fails currently. |
12 |
|
13 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
14 |
|
15 |
sci-physics/SU2/SU2-7.1.1.ebuild | 5 ++++- |
16 |
sci-physics/SU2/SU2-7.2.0.ebuild | 10 +++++++++- |
17 |
2 files changed, 13 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/sci-physics/SU2/SU2-7.1.1.ebuild b/sci-physics/SU2/SU2-7.1.1.ebuild |
20 |
index 87b3d2328..899b5d72f 100644 |
21 |
--- a/sci-physics/SU2/SU2-7.1.1.ebuild |
22 |
+++ b/sci-physics/SU2/SU2-7.1.1.ebuild |
23 |
@@ -74,6 +74,9 @@ src_prepare(){ |
24 |
if has_version ">=dev-libs/boost-1.75.0" ; then |
25 |
sed -i -e 's:cpp_std=c++11:cpp_std=c++14:' meson.build || die |
26 |
fi |
27 |
+ |
28 |
+ # Disable python-wrapper tests |
29 |
+ sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die |
30 |
} |
31 |
|
32 |
src_configure() { |
33 |
@@ -111,10 +114,10 @@ src_test() { |
34 |
|
35 |
pushd TestCases/ || die |
36 |
if use mpi ; then |
37 |
- ${EPYTHON} parallel_regression.py || die |
38 |
if use tutorials ; then |
39 |
${EPYTHON} tutorials.py || die |
40 |
fi |
41 |
+ ${EPYTHON} parallel_regression.py || die |
42 |
else |
43 |
${EPYTHON} serial_regression.py || die |
44 |
fi |
45 |
|
46 |
diff --git a/sci-physics/SU2/SU2-7.2.0.ebuild b/sci-physics/SU2/SU2-7.2.0.ebuild |
47 |
index e211c5388..7b3091907 100644 |
48 |
--- a/sci-physics/SU2/SU2-7.2.0.ebuild |
49 |
+++ b/sci-physics/SU2/SU2-7.2.0.ebuild |
50 |
@@ -76,6 +76,14 @@ src_prepare(){ |
51 |
|
52 |
# Force Disable parmetis support in meson.build (configure.ac has optional switch) |
53 |
use !parmetis && { sed -i -e "/parmetis/Id" meson.build || die ; } |
54 |
+ |
55 |
+ # Disable python-wrapper tests |
56 |
+ sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die |
57 |
+ |
58 |
+ # Copy absence mesh file |
59 |
+ if use test ; then |
60 |
+ cp "${S}/TestCases/nonequilibrium/viscwedge/viscwedge.su2" "${S}/TestCases/nonequilibrium/axi_visccone/" || die |
61 |
+ fi |
62 |
} |
63 |
|
64 |
src_configure() { |
65 |
@@ -113,10 +121,10 @@ src_test() { |
66 |
|
67 |
pushd TestCases/ || die |
68 |
if use mpi ; then |
69 |
- ${EPYTHON} parallel_regression.py || die |
70 |
if use tutorials ; then |
71 |
${EPYTHON} tutorials.py || die |
72 |
fi |
73 |
+ ${EPYTHON} parallel_regression.py || die |
74 |
else |
75 |
${EPYTHON} serial_regression.py || die |
76 |
fi |