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
This commit is contained in:
parent
7954510534
commit
054f13e70b
|
@ -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 TRX1@127.0.0.1:5700/1 --trx TRX2@127.0.0.1:5700/2 --trx TRX3@127.0.0.1:5700/3
|
Loading…
Reference in New Issue