<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18549">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">start-testsuite.sh: allow overriding TTCN3_BIN_DIR<br><br>Override the default of /usr/bin with the environment variable of the<br>same name, if set.<br><br>Related: OS#4564<br>Change-Id: I245ae368a97558006fc9f85d4fcb4e4cd52fb19a<br>---<br>M start-testsuite.sh<br>1 file changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/49/18549/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/start-testsuite.sh b/start-testsuite.sh</span><br><span>index a6380b7..b9324bb 100755</span><br><span>--- a/start-testsuite.sh</span><br><span>+++ b/start-testsuite.sh</span><br><span>@@ -3,6 +3,9 @@</span><br><span> # Helper script to starte a TITAN-generated test suite, supporting</span><br><span> # dynamically linked suites to ensure JUNIT generation is possible.</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+# Environment variables:</span><br><span style="color: hsl(120, 100%, 40%);">+# * TTCN3_BIN_DIR: override where to look for ttcn3_start</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> # Copyright 2017 Harald Welte</span><br><span> # Copyright 2018 sysmocom - s.f.m.c. GmbH</span><br><span> #</span><br><span>@@ -43,7 +46,7 @@</span><br><span> #TTCN3_BIN_DIR="$TTCN3_DIR/bin"</span><br><span> </span><br><span> # below is for the debian packages</span><br><span style="color: hsl(0, 100%, 40%);">-TTCN3_BIN_DIR="/usr/bin"</span><br><span style="color: hsl(120, 100%, 40%);">+TTCN3_BIN_DIR="${TTCN3_BIN_DIR:-/usr/bin}"</span><br><span> TITAN_LIBRARY_PATH="/usr/lib/titan:/usr/ttcn3/lib"</span><br><span> LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SUITE_DIR:$TITAN_LIBRARY_PATH" "$TTCN3_BIN_DIR/ttcn3_start" $SUITE $CFG $TEST</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18549">change 18549</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-ttcn3-hacks/+/18549"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I245ae368a97558006fc9f85d4fcb4e4cd52fb19a </div>
<div style="display:none"> Gerrit-Change-Number: 18549 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>