<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16198">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Makefile convenience: add VTY_TEST var to run only one test<br><br>VTY transcript tests run all *.vty test scripts, and it is not so trivial to<br>figure out the test-db creation and cmdline to run only one of them when<br>debugging. Add VTY_TEST var, useful to pick one test on the cmdline:<br><br>  cd tests<br>  make vty-test VTY_TEST=test_nodes.vty<br><br>Change-Id: I4ad7ddb31b2bfb668b3540cfef658417dd442375<br>---<br>M tests/Makefile.am<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/98/16198/1</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 357fbac..b44a209 100644</span><br><span>--- a/tests/Makefile.am</span><br><span>+++ b/tests/Makefile.am</span><br><span>@@ -52,6 +52,7 @@</span><br><span> endif</span><br><span> </span><br><span> VTY_TEST_DB = hlr_vty_test.db</span><br><span style="color: hsl(120, 100%, 40%);">+VTY_TEST ?= *.vty</span><br><span> </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>@@ -63,7 +64,7 @@</span><br><span>  osmo_verify_transcript_vty.py -v \</span><br><span>           -n OsmoHLR -p 4258 \</span><br><span>                 -r "$(top_builddir)/src/osmo-hlr -c $(top_srcdir)/doc/examples/osmo-hlr.cfg -l $(VTY_TEST_DB)" \</span><br><span style="color: hsl(0, 100%, 40%);">-              $(U) $(srcdir)/*.vty</span><br><span style="color: hsl(120, 100%, 40%);">+          $(U) $(srcdir)/$(VTY_TEST)</span><br><span>   -rm -f $(VTY_TEST_DB)</span><br><span>        -rm $(VTY_TEST_DB)-*</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16198">change 16198</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-hlr/+/16198"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I4ad7ddb31b2bfb668b3540cfef658417dd442375 </div>
<div style="display:none"> Gerrit-Change-Number: 16198 </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>