<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/18358">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jenkins.sh: use osmo-bsc -X to ensure correct VTY reference<br><br>Instead of this, we could always generate the XML reference from osmo-bsc -X as<br>part of the build process, but it is actually also nice to see a history of<br>changes in the VTY commands we support.<br><br>Change-Id: If9dcacdcd09759143dda2f60123672612ad42fe2<br>---<br>M contrib/jenkins.sh<br>1 file changed, 11 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/58/18358/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh</span><br><span>index 73f1174..2ca1cd7 100755</span><br><span>--- a/contrib/jenkins.sh</span><br><span>+++ b/contrib/jenkins.sh</span><br><span>@@ -57,6 +57,17 @@</span><br><span> $MAKE $PARALLEL_MAKE</span><br><span> LD_LIBRARY_PATH="$inst/lib" $MAKE check \</span><br><span>   || cat-testlogs.sh</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# verify that the VTY XML reference is up-to-date</span><br><span style="color: hsl(120, 100%, 40%);">+xmlref="$(mktemp)"</span><br><span style="color: hsl(120, 100%, 40%);">+./src/osmo-bsc/osmo-bsc -X > "$xmlref"</span><br><span style="color: hsl(120, 100%, 40%);">+if ! diff ./doc/manuals/vty/bsc_vty_reference.xml "$xmlref"; then</span><br><span style="color: hsl(120, 100%, 40%);">+      echo</span><br><span style="color: hsl(120, 100%, 40%);">+  echo "ERROR: The VTY reference differs from 'osmo-bsc -X' output."</span><br><span style="color: hsl(120, 100%, 40%);">+  echo "       Run 'osmo-bsc -X > doc/manuals/vty/bsc_vty_reference.xml'"</span><br><span style="color: hsl(120, 100%, 40%);">+  exit 1</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> LD_LIBRARY_PATH="$inst/lib" \</span><br><span>   DISTCHECK_CONFIGURE_FLAGS="--enable-vty-tests --enable-external-tests --enable-werror $CONFIG" \</span><br><span>   $MAKE distcheck \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/18358">change 18358</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-bsc/+/18358"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If9dcacdcd09759143dda2f60123672612ad42fe2 </div>
<div style="display:none"> Gerrit-Change-Number: 18358 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>