aboutsummaryrefslogtreecommitdiffstats
path: root/remsim/gen_links.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-02-18 21:55:07 +0100
committerHarald Welte <laforge@osmocom.org>2020-02-19 19:56:30 +0100
commit34b9da299c59d8743af8fd69c33ae6d86e62b316 (patch)
tree8697cacba090ae350496f6718ebb50d8c8de547b /remsim/gen_links.sh
parent625faadb769d357d116515a09f8600166235350f (diff)
remsim: Add tests using stdin/stdout of osmo-remsim-client-shell
osmo-remsim-client-shell allows to send C-APDU via STDIN of the program and receive R-APDU via STDOUT. We can attach to that using the PIPEasp TTCN3 port, and hence test a [local] osmo-remsim-client-shell transceiving APDUs from/to a simulated bankd in the test case. The only sad part about this is that we now will need to have the implementation under test (osmo-remsim-client-shell binary) in the same container as the TTCN-3 test, as it will fork/exec it. This is why we disable it by default and a modulepar must be used to enable those particular tests. Change-Id: I3a69c692cf3e6bbe04ce58594050b20da0c37d16
Diffstat (limited to 'remsim/gen_links.sh')
-rwxr-xr-xremsim/gen_links.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/remsim/gen_links.sh b/remsim/gen_links.sh
index 366a8e67..995abfb0 100755
--- a/remsim/gen_links.sh
+++ b/remsim/gen_links.sh
@@ -32,6 +32,10 @@ DIR=$BASEDIR/titan.ProtocolModules.JSON_v07_2006/src
FILES="JSON_EncDec.cc JSON_Types.ttcn "
gen_links $DIR $FILES
+DIR=$BASEDIR/titan.TestPorts.PIPEasp/src
+FILES="PIPEasp_PT.cc PIPEasp_PT.hh PIPEasp_Types.ttcn PIPEasp_PortType.ttcn "
+gen_links $DIR $FILES
+
DIR=../library
FILES="Misc_Helpers.ttcn General_Types.ttcn Osmocom_VTY_Functions.ttcn Osmocom_Types.ttcn "