<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-msc/+/18969">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">make vty-transcrip-test: use $VTY_TEST var like osmo-bsc<br><br>Adopt the same way to run manual vty transcript tests as in<br>osmo-bsc/test/Makefile.am.<br><br>There are different ways to select a specific test to run in osmo-bsc and here<br>in osmo-msc. The osmo-bsc way is more convenient when building outside the src<br>tree, because it does not need the full absolute path of the test file.<br><br>Change-Id: If1e2abfa321a5e9fb60358d1f0e4e448b33184af<br>---<br>M tests/Makefile.am<br>1 file changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/Makefile.am b/tests/Makefile.am</span><br><span>index 5af80a4..c765158 100644</span><br><span>--- a/tests/Makefile.am</span><br><span>+++ b/tests/Makefile.am</span><br><span>@@ -71,6 +71,9 @@</span><br><span>       $(srcdir)/vty_test_runner.py -w $(abs_top_builddir) -v</span><br><span>       rm -f $(top_builddir)/sms.db</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+# Run a specific transcript test with: 'make vty-transcript-test VTY_TEST=osmo-msc.vty'</span><br><span style="color: hsl(120, 100%, 40%);">+VTY_TEST ?= *.vty</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> # To update the VTY script from current application behavior,</span><br><span> # pass -u to vty_script_runner.py by doing:</span><br><span> #   make vty-transcript-test U=-u</span><br><span>@@ -78,7 +81,7 @@</span><br><span>      osmo_verify_transcript_vty.py -v \</span><br><span>           -n OsmoMSC -p 4254 \</span><br><span>                 -r "$(top_builddir)/src/osmo-msc/osmo-msc -c $(top_srcdir)/doc/examples/osmo-msc/osmo-msc.cfg" \</span><br><span style="color: hsl(0, 100%, 40%);">-              $(U) $${T:-$(srcdir)/*.vty}</span><br><span style="color: hsl(120, 100%, 40%);">+           $(U) $(srcdir)/$(VTY_TEST)</span><br><span>   rm -f $(builddir)/sms.db</span><br><span> </span><br><span> # don't run multiple tests concurrently so that the ports don't conflict</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-msc/+/18969">change 18969</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-msc/+/18969"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If1e2abfa321a5e9fb60358d1f0e4e448b33184af </div>
<div style="display:none"> Gerrit-Change-Number: 18969 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>