<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/44ee05cbf907fbe3df18503b85ddcb9c6dd23348">https://github.com/macports/macports-ports/commit/44ee05cbf907fbe3df18503b85ddcb9c6dd23348</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 44ee05cbf907fbe3df18503b85ddcb9c6dd23348
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Tue Mar 28 02:39:10 2023 +0700
<span style='display:block; white-space:pre;color:#404040;'> phosg: add support for tests
</span>---
devel/phosg/Portfile | 8 ++++++++
1 file changed, 8 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/phosg/Portfile b/devel/phosg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f2dc721035a..ef23de0c9fd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/phosg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/phosg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,3 +32,11 @@ patchfiles CMakeLists-txt.diff
</span> depends_build-append port:python${python_version}
configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python${pyver}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Test infrastructure uses /bin/ps, which is forbidden by sandboxing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ append portsandbox_profile " (allow process-exec (literal \"/bin/ps\") (with no-profile))"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.cmd ctest
</span></pre><pre style='margin:0'>
</pre>