<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/16643">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG<br><br>This is a problem e.g. with current osmo-hlr containing<br>"\t# FIXME: PKG_CHECK_MODULES() may return cached result here!"<br><br>Change-Id: I30d539a895bf39aaabe907be9eb52d7e4b3977a7<br>---<br>M scripts/osmo-depcheck/parse.py<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/43/16643/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/scripts/osmo-depcheck/parse.py b/scripts/osmo-depcheck/parse.py</span><br><span>index 06f932e..e9914f8 100644</span><br><span>--- a/scripts/osmo-depcheck/parse.py</span><br><span>+++ b/scripts/osmo-depcheck/parse.py</span><br><span>@@ -3,6 +3,7 @@</span><br><span> </span><br><span> import sys</span><br><span> import fnmatch</span><br><span style="color: hsl(120, 100%, 40%);">+import re</span><br><span> </span><br><span> # Same folder</span><br><span> import config</span><br><span>@@ -53,6 +54,8 @@</span><br><span>     # Only look at PKG_CHECK_MODULES lines</span><br><span>     if "PKG_CHECK_MODULES" not in line:</span><br><span>         return</span><br><span style="color: hsl(120, 100%, 40%);">+    if re.search('#.*PKG_CHECK_MODULES', line):</span><br><span style="color: hsl(120, 100%, 40%);">+        return</span><br><span> </span><br><span>     # Extract the condition</span><br><span>     ret = line.split(",")[1].split(")")[0].strip()</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/16643">change 16643</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ci/+/16643"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ci </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I30d539a895bf39aaabe907be9eb52d7e4b3977a7 </div>
<div style="display:none"> Gerrit-Change-Number: 16643 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>