<pre style='margin:0'>
Haren S (harens) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/84186246f6a523f95f2cbeb373f0c0cdc24e5765">https://github.com/macports/macports-ports/commit/84186246f6a523f95f2cbeb373f0c0cdc24e5765</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 84186246f6a523f95f2cbeb373f0c0cdc24e5765
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sun Feb 5 02:17:04 2023 +0700
<span style='display:block; white-space:pre;color:#404040;'> Sophus: add tests variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Sergey Fedorov <vital.had@gmail.com>
</span>---
math/Sophus/Portfile | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/Sophus/Portfile b/math/Sophus/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5b7e6b6fa54..c9397f9f1da 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/Sophus/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/Sophus/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,3 +34,10 @@ compiler.cxx_standard 2014
</span> configure.args-append \
-DBUILD_SOPHUS_EXAMPLES=OFF \
-DBUILD_SOPHUS_TESTS=OFF
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant tests description "Build and run tests" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Notice that there are a few failures on PPC: https://github.com/strasdat/Sophus/issues/448
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_SOPHUS_TESTS=OFF -DBUILD_SOPHUS_TESTS=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>