pespin has uploaded this change for review.
gmm: Rename gmm_prim_test -> gmm_prim_ms_test
A new test file will be added to test GMM in network (SGSN) mode.
Change-Id: I9c7bccbf229aa2e136869baf98c5401c0dbae954
---
M tests/gmm/Makefile.am
R tests/gmm/gmm_prim_ms_test.c
R tests/gmm/gmm_prim_ms_test.err
R tests/gmm/gmm_prim_ms_test.ok
M tests/testsuite.at
5 files changed, 22 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/25/37725/1
diff --git a/tests/gmm/Makefile.am b/tests/gmm/Makefile.am
index 83517e5..c84c879 100644
--- a/tests/gmm/Makefile.am
+++ b/tests/gmm/Makefile.am
@@ -14,14 +14,14 @@
check_PROGRAMS = \
gmm_misc_test \
- gmm_prim_test \
+ gmm_prim_ms_test \
$(NULL)
EXTRA_DIST = \
gmm_misc_test.err \
gmm_misc_test.ok \
- gmm_prim_test.err \
- gmm_prim_test.ok \
+ gmm_prim_ms_test.err \
+ gmm_prim_ms_test.ok \
$(NULL)
# libosmo-gprs-gmm.a is used below to access non-exported private symbols used in the test:
@@ -39,8 +39,8 @@
# libosmo-gprs-llc.a is used below to access non-exported private symbols used in the test:
# libosmo-gprs-rlcmac.a is used below to access non-exported private symbols used in the test:
-gmm_prim_test_SOURCES = gmm_prim_test.c
-gmm_prim_test_LDADD = \
+gmm_prim_ms_test_SOURCES = gmm_prim_ms_test.c
+gmm_prim_ms_test_LDADD = \
$(top_builddir)/src/gmm/libosmo-gprs-gmm.la \
$(top_builddir)/src/llc/.libs/libosmo-gprs-llc.a \
$(top_builddir)/src/rlcmac/.libs/libosmo-gprs-rlcmac.a \
@@ -49,7 +49,7 @@
$(LIBOSMOGSM_LIBS) \
$(NULL)
-gmm_prim_test_LDFLAGS = \
+gmm_prim_ms_test_LDFLAGS = \
-Wl,--wrap=osmo_get_rand_id \
-no-install \
$(NULL)
diff --git a/tests/gmm/gmm_prim_test.c b/tests/gmm/gmm_prim_ms_test.c
similarity index 100%
rename from tests/gmm/gmm_prim_test.c
rename to tests/gmm/gmm_prim_ms_test.c
diff --git a/tests/gmm/gmm_prim_test.err b/tests/gmm/gmm_prim_ms_test.err
similarity index 100%
rename from tests/gmm/gmm_prim_test.err
rename to tests/gmm/gmm_prim_ms_test.err
diff --git a/tests/gmm/gmm_prim_test.ok b/tests/gmm/gmm_prim_ms_test.ok
similarity index 100%
rename from tests/gmm/gmm_prim_test.ok
rename to tests/gmm/gmm_prim_ms_test.ok
diff --git a/tests/testsuite.at b/tests/testsuite.at
index ce51e35..3b5c326 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -8,11 +8,11 @@
AT_CHECK([$abs_top_builddir/tests/gmm/gmm_misc_test], [0], [expout], [experr])
AT_CLEANUP
-AT_SETUP([gmm/gmm_prim])
-AT_KEYWORDS([gmm gmm_prim])
-cat $abs_srcdir/gmm/gmm_prim_test.ok > expout
-cat $abs_srcdir/gmm/gmm_prim_test.err > experr
-AT_CHECK([$abs_top_builddir/tests/gmm/gmm_prim_test], [0], [expout], [experr])
+AT_SETUP([gmm/gmm_prim_ms])
+AT_KEYWORDS([gmm gmm_prim_ms])
+cat $abs_srcdir/gmm/gmm_prim_ms_test.ok > expout
+cat $abs_srcdir/gmm/gmm_prim_ms_test.err > experr
+AT_CHECK([$abs_top_builddir/tests/gmm/gmm_prim_ms_test], [0], [expout], [experr])
AT_CLEANUP
AT_SETUP([llc/llc])
To view, visit change 37725. To unsubscribe, or for help writing mail filters, visit settings.