fixeria submitted this change.

View Change

Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve osmith: Looks good to me, approved
ttcn3/tmux: check-in ttcn3-s1gw-test.sh

Change-Id: Ie4cfd665f166feb06e35f341f348bc196bcfa215
---
A ttcn3/tmux/ttcn3-s1gw-test.sh
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/ttcn3/tmux/ttcn3-s1gw-test.sh b/ttcn3/tmux/ttcn3-s1gw-test.sh
new file mode 100755
index 0000000..c03cae1
--- /dev/null
+++ b/ttcn3/tmux/ttcn3-s1gw-test.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+SESSION="ttcn3-s1gw-test"
+
+OSMO_DIR="/home/$USER/osmocom"
+S1GW_DIR="$OSMO_DIR/osmo-s1gw"
+SUITE_DIR="$OSMO_DIR/osmo-ttcn3-hacks"
+
+tmux new-session -s $SESSION -n $SESSION -d
+
+tmux split-window -t $SESSION:0 -v
+tmux send-keys -t $SESSION:0.0 "cd $S1GW_DIR" C-m
+tmux send-keys -t $SESSION:0.0 "make shell CONFIG=$SUITE_DIR/s1gw/osmo-s1gw.config" C-m
+tmux send-keys -t $SESSION:0.1 "cd $SUITE_DIR/s1gw" C-m
+tmux send-keys -t $SESSION:0.1 "../start-testsuite.sh s1gw/S1GW_Tests S1GW_Tests.cfg"
+
+tmux attach -t $SESSION:0

To view, visit change 43945. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: Ie4cfd665f166feb06e35f341f348bc196bcfa215
Gerrit-Change-Number: 43945
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>