aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/testsuite.at
diff options
context:
space:
mode:
authorPhilipp <pmaier@sysmocom.de>2016-09-29 17:01:57 +0200
committerHarald Welte <laforge@gnumonks.org>2016-11-01 21:56:22 +0000
commitb4cb83809226218db18d650aa9c8700370501d37 (patch)
treec85b84f5d75cb0d74603394b318b11775c82a22c /openbsc/tests/testsuite.at
parent05adbdcb2eabaca8426356ade5ca24a1be6e96d2 (diff)
OML: Improve OML attribute handling
the OML attribute tables are hardcoded. To set variable parameters, the hardcoded data structure (tlv) is patched on byte level during runtime. This patch replaces this mechanism. - Replace hardcoded OML attribute tables with dynamically generated TLV structures. - Add unit tests to check if the OML attribute tables are generated correctly - Put OML attribute table generator code in a separate file: bts_ipaccess_nanobts_omlattr.c Change-Id: Ibeb34a84912d6cf695f553a34c69320fca7d08fa
Diffstat (limited to 'openbsc/tests/testsuite.at')
-rw-r--r--openbsc/tests/testsuite.at6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/tests/testsuite.at b/openbsc/tests/testsuite.at
index 4905cd148..b44d5950f 100644
--- a/openbsc/tests/testsuite.at
+++ b/openbsc/tests/testsuite.at
@@ -151,3 +151,9 @@ AT_CHECK([test "$enable_sgsn_test" != no || exit 77])
cat $abs_srcdir/v42bis/v42bis_test.ok > expout
AT_CHECK([$abs_top_builddir/tests/v42bis/v42bis_test], [], [expout], [ignore])
AT_CLEANUP
+
+AT_SETUP([nanobts_omlattr])
+AT_KEYWORDS([nanobts_omlattr])
+cat $abs_srcdir/nanobts_omlattr/nanobts_omlattr_test.ok > expout
+AT_CHECK([$abs_top_builddir/tests/nanobts_omlattr/nanobts_omlattr_test], [], [expout], [ignore])
+AT_CLEANUP