osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/35118?usp=email )
Change subject: ttcn3: support hss-ogs, mme-ogs, pgw ......................................................................
ttcn3: support hss-ogs, mme-ogs, pgw
Change-Id: I08d76e6c92e2e3eacacb02a5a6f6d589e5889499 --- M ttcn3/ttcn3.sh 1 file changed, 18 insertions(+), 4 deletions(-)
Approvals: osmith: Looks good to me, approved; Verified
diff --git a/ttcn3/ttcn3.sh b/ttcn3/ttcn3.sh index a07295a..701e323 100755 --- a/ttcn3/ttcn3.sh +++ b/ttcn3/ttcn3.sh @@ -95,6 +95,7 @@ echo " $name -k ggsn" echo " $name -k -f ggsn" echo " $name ggsn-ogs" + echo " $name hss-ogs" exit 1 ;; esac @@ -107,6 +108,7 @@
PROJECT="$1" PROJECT_UPPER="$(echo "$PROJECT" | tr '[:lower:]' '[:upper:]')" + PROJECT_NO_OGS="$(echo "$PROJECT" | sed 's/-ogs$//')" }
check_usage() { @@ -123,7 +125,7 @@ bts-*) echo "$hacks/bts" ;; ggsn|ggsn-ogs) echo "$hacks/ggsn_tests" ;; pcu-sns) echo "$hacks/pcu" ;; - *) echo "$hacks/$PROJECT" ;; + *) echo "$hacks/$PROJECT_NO_OGS" ;; esac }
@@ -134,8 +136,8 @@ bsc-*) echo "$dp/ttcn3-bsc-test-$(echo "$PROJECT" | cut -d - -f 2-)" ;; - ggsn-ogs) - echo "$dp/ttcn3-ggsn-test-ogs" + *-ogs) + echo "$dp/ttcn3-$PROJECT_NO_OGS-test-ogs" ;; *) echo "$dp/ttcn3-$PROJECT-test" @@ -151,6 +153,9 @@ ggsn-ogs) echo "$USER/ttcn3-ggsn-test" ;; + *-ogs) + echo "$USER/ttcn3-$PROJECT_NO_OGS-test-ogs" + ;; *) echo "$USER/ttcn3-$PROJECT-test" ;; @@ -169,7 +174,7 @@ case "$PROJECT" in bsc|bsc-*) echo "osmo-stp osmo-bsc osmo-bts-omldummy" ;; bts) echo "osmo-bsc osmo-bts-trx" ;; - ggsn-ogs) echo "open5gs" ;; + *-ogs|pgw) echo "open5gs" ;; msc) echo "osmo-stp osmo-msc" ;; pcu-sns) echo "osmo-pcu" ;; pcu) echo "osmo-pcu osmo-bsc osmo-bts-virtual" ;;