mirror of https://gerrit.osmocom.org/libosmocore
gprs_ns2: call python vty tests
Also checks vty docs Change-Id: Ia8b77ae5bc3fed835dd1fc2cce0acbc41f199d54
This commit is contained in:
parent
c0d02cc163
commit
5a3eb5d99a
|
@ -320,7 +320,7 @@ EXTRA_DIST = testsuite.at $(srcdir)/package.m4 $(TESTSUITE) \
|
|||
gsm0808/gsm0808_test.ok gb/bssgp_fc_tests.err \
|
||||
gb/bssgp_fc_tests.ok gb/bssgp_fc_tests.sh \
|
||||
gb/gprs_bssgp_test.ok gb/gprs_ns_test.ok gea/gea_test.ok \
|
||||
gb/gprs_ns2_vty.vty \
|
||||
gb/gprs_ns2_vty.vty gb/osmoappdesc.py gb/osmo-ns-dummy.cfg \
|
||||
gprs/gprs_test.ok kasumi/kasumi_test.ok \
|
||||
msgfile/msgfile_test.ok msgfile/msgconfig.cfg \
|
||||
logging/logging_test.ok logging/logging_test.err \
|
||||
|
@ -437,6 +437,8 @@ vty-test-ns2:
|
|||
-p 42042 \
|
||||
-r "$(top_builddir)/utils/osmo-ns-dummy -p 42042" \
|
||||
$(U) $(srcdir)/gb/gprs_ns2*.vty
|
||||
osmotestvty.py -p $(abs_top_srcdir)/tests/gb -w $(abs_top_builddir)/tests/gb -v
|
||||
osmotestconfig.py -p $(abs_top_srcdir)/tests/gb -w $(abs_top_builddir)/tests/gb -v
|
||||
|
||||
vty-test-logging:
|
||||
osmo_verify_transcript_vty.py -v \
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
# (C) 2021 by sysmocom - s.f.m.c. GmbH
|
||||
# Author: Alexander Couzens <lynxis@fe80.eu>
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
|
||||
app_configs = {
|
||||
"osmo-ns-dummy": ["osmo-ns-dummy.cfg"],
|
||||
}
|
||||
|
||||
apps = [(45999, "../../utils/osmo-ns-dummy -p 45999", "OsmoNSdummy", "osmo-ns-dummy")
|
||||
]
|
||||
|
||||
vty_command = ["../../utils/osmo-ns-dummy", "-p", "45999", "-c", "osmo-ns-dummy.cfg"]
|
||||
|
||||
vty_app = apps[0]
|
Loading…
Reference in New Issue