<p>George Joseph <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19030">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span></span><br></pre><div style="white-space:pre-wrap">Approvals:
  Friendly Automation: Verified
  George Joseph: Looks good to me, approved; Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CI: Fixing path issue on venv check<br><br>ASTERISK-26826<br><br>Change-Id: I07388d16f74452cebc9c981f99044eb6b77df792<br>---<br>M tests/CI/runTestsuite.sh<br>1 file changed, 14 insertions(+), 2 deletions(-)<br><br></pre>
<pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/CI/runTestsuite.sh b/tests/CI/runTestsuite.sh</span><br><span>index 2308349..ec4292c 100755</span><br><span>--- a/tests/CI/runTestsuite.sh</span><br><span>+++ b/tests/CI/runTestsuite.sh</span><br><span>@@ -4,7 +4,6 @@</span><br><span> TEST_TIMEOUT=600</span><br><span> source $CIDIR/ci.functions</span><br><span> ASTETCDIR=$DESTDIR/etc/asterisk</span><br><span style="color: hsl(0, 100%, 40%);">-SETUPVENV=$TESTSUITE_DIR/setupVenv.sh</span><br><span> </span><br><span> if [ x"$WORK_DIR" != x ] ; then</span><br><span>    export AST_WORK_DIR="$(readlink -f $WORK_DIR)"</span><br><span>@@ -19,11 +18,13 @@</span><br><span> fi</span><br><span> </span><br><span> # check to see if venv scripts exist so we can use them</span><br><span style="color: hsl(0, 100%, 40%);">-if [ -f "$SETUPVENV" ] ; then</span><br><span style="color: hsl(120, 100%, 40%);">+if [ -f ./setupVenv.sh ] ; then</span><br><span style="color: hsl(120, 100%, 40%);">+   echo "Running in Virtual Environment"</span><br><span>      # explicitly invoking setupVenv to capture output in case of failure</span><br><span>         ./setupVenv.sh</span><br><span>       VENVPREFIX="runInVenv.sh python "</span><br><span> else</span><br><span style="color: hsl(120, 100%, 40%);">+   echo "Running in Legacy Mode"</span><br><span>      export PYTHONPATH=./lib/python/</span><br><span> fi</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19030">change 19030</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/c/asterisk/+/19030"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I07388d16f74452cebc9c981f99044eb6b77df792 </div>
<div style="display:none"> Gerrit-Change-Number: 19030 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Michael Bradeen <mbradeen@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>