<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d2299551181cecb8904274369625b6630fad8c28">https://github.com/macports/macports-ports/commit/d2299551181cecb8904274369625b6630fad8c28</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d2299551181cecb8904274369625b6630fad8c28
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Jul 1 23:45:27 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> mumps: Use build.jobs in tests
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use build.jobs when running tests, rather than using sysctl hw.ncpu.
</span>---
math/mumps/Portfile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/mumps/Portfile b/math/mumps/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2b0bf7ee41..3a019cdb1bd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/mumps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/mumps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -101,12 +101,7 @@ test.target all
</span> test.args-append LPORD=../lib/libpord.a
post-test {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![catch {sysctl hw.ncpu} result]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set njobs $result
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set njobs 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set runcmd "${mpi.exec} -np ${njobs}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set runcmd "${mpi.exec} -np ${build.jobs}"
</span>
system -W ${worksrcpath}/examples "${runcmd} ./ssimpletest < input_simpletest_real"
system -W ${worksrcpath}/examples "${runcmd} ./dsimpletest < input_simpletest_real"
</pre><pre style='margin:0'>
</pre>