aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-06-07 03:19:45 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-07 17:05:41 +0000
commit8f2aaf47c910a984de370774e6910ea5d453983e (patch)
tree530aad47cf4a74cbe3e4d2474f8b7ddf2c618bd1 /tests
parent2583b62205f30ab23d3d567ea2f5da4dc3cba9e7 (diff)
bsc_test: drop "scan to MSC" code path
The TEST_SCAN_TO_MSC is completely unused, but still the code linked bsc_scan_bts_msg() for the unused code path. This is unlikely to ever be expanded. Remove TEST_SCAN_TO_MSC and reduce linking requirements. (I am this close to dropping the test entirely to avoid continuous linking annoyance, but ok, since nothing else tests timezones AFAIK, keeping it.) Change-Id: I27521950432e412f919cde811c9473557d0ec25e
Diffstat (limited to 'tests')
-rw-r--r--tests/bsc/bsc_test.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/bsc/bsc_test.c b/tests/bsc/bsc_test.c
index 106b08bc7..08d376016 100644
--- a/tests/bsc/bsc_test.c
+++ b/tests/bsc/bsc_test.c
@@ -43,7 +43,6 @@ void *ctx = NULL;
enum test {
TEST_SCAN_TO_BTS,
- TEST_SCAN_TO_MSC,
};
/* GSM 04.08 MM INFORMATION test message */
@@ -158,12 +157,6 @@ static void test_scan(void)
/* override timezone of msg coming from the MSC */
result = bsc_scan_msc_msg(conn, msg);
break;
- case TEST_SCAN_TO_MSC:
- /* override timezone of msg coming from the BSC */
- /* FIXME: no test for this case is defined in
- * test_scan_defs[], so this is never used. */
- result = bsc_scan_bts_msg(conn, msg);
- break;
default:
abort();
break;