aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-25 16:32:52 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-25 16:45:47 +0200
commitd44ff58246ca358bbb1fd42e682fd54fd7e1d7d1 (patch)
treefa0a4483bdf354c0ba79e6476571290d2bd0b040
parentc4cf06f6d50caf44dc8dace7f56a2d6554d403b7 (diff)
tests: Move the "pcu_direct" symbol into the stubs to be shared
-rw-r--r--tests/agch/agch_test.c1
-rw-r--r--tests/cipher/cipher_test.c1
-rw-r--r--tests/paging/paging_test.c1
-rw-r--r--tests/stubs.c1
4 files changed, 1 insertions, 3 deletions
diff --git a/tests/agch/agch_test.c b/tests/agch/agch_test.c
index 6d00ed86..24fa847f 100644
--- a/tests/agch/agch_test.c
+++ b/tests/agch/agch_test.c
@@ -29,7 +29,6 @@
static struct gsm_bts *bts;
static struct gsm_bts_role_bts *btsb;
-int pcu_direct = 0;
static const uint8_t static_ilv[] = {
0x08, 0x59, 0x51, 0x30, 0x99, 0x00, 0x00, 0x00, 0x19
diff --git a/tests/cipher/cipher_test.c b/tests/cipher/cipher_test.c
index 2a2fa288..a175012f 100644
--- a/tests/cipher/cipher_test.c
+++ b/tests/cipher/cipher_test.c
@@ -29,7 +29,6 @@
static struct gsm_bts *bts;
static struct gsm_bts_role_bts *btsb;
-int pcu_direct = 0;
#define ASSERT_TRUE(rc) \
if (!(rc)) { \
diff --git a/tests/paging/paging_test.c b/tests/paging/paging_test.c
index a6f8cfaf..de839e47 100644
--- a/tests/paging/paging_test.c
+++ b/tests/paging/paging_test.c
@@ -29,7 +29,6 @@
static struct gsm_bts *bts;
static struct gsm_bts_role_bts *btsb;
-int pcu_direct = 0;
static const uint8_t static_ilv[] = {
0x08, 0x59, 0x51, 0x30, 0x99, 0x00, 0x00, 0x00, 0x19
diff --git a/tests/stubs.c b/tests/stubs.c
index 99961aad..be0c0ce3 100644
--- a/tests/stubs.c
+++ b/tests/stubs.c
@@ -7,6 +7,7 @@
*/
const uint8_t abis_mac[6] = { 0,1,2,3,4,5 };
const char *software_version = "0815";
+int pcu_direct = 0;
int bts_model_chg_adm_state(struct gsm_bts *bts, struct gsm_abis_mo *mo,
void *obj, uint8_t adm_state)