lynxis lazus has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/30700 )

Change subject: osmo-bts: add simple run_fake_trx.sh
......................................................................

osmo-bts: add simple run_fake_trx.sh

Most BTS_Tests require to run fake_trx. Add a simple
run_fake_trx.sh script when running these test without
docker.

Change-Id: Ie3a68931bd52f55570409bb35962cebbfd58d168
---
A bts/run_fake_trx.sh
1 file changed, 11 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/bts/run_fake_trx.sh b/bts/run_fake_trx.sh
new file mode 100755
index 0000000..2209972
--- /dev/null
+++ b/bts/run_fake_trx.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# Most BTS_Tests require to have fake_trx running.
+# fake trx is part of osmo-trx
+FAKE_TRX_DIR="${FAKE_TRX_DIR:-../../osmo-trx/osmocom-bb/src/target/trx_toolkit}"
+
+if [ -n "$FAKE_TRX_DIR" ] ; then
+    cd "$FAKE_TRX_DIR"
+fi
+
+exec ./fake_trx.py  --trx [email protected]:5700/1 --trx [email protected]:5700/2 
--trx [email protected]:5700/3

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/30700
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie3a68931bd52f55570409bb35962cebbfd58d168
Gerrit-Change-Number: 30700
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: lynxis lazus <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to