diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-09-06 17:21:02 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-09-13 14:27:12 +0000 |
commit | 27a86005f34e5ccc2f31aadefec916ffb4476d17 (patch) | |
tree | 42f0b91cc49508fb8d3e6b9ac35e4d399a4fc124 /include | |
parent | c78759055a223b9f48bdfd5523a9825e16cf0658 (diff) |
measurement: fix unit-test test_lchan_meas_process_measurement
The unit test that tests lchan_meas_process_measurement() only inputs
test data to lchan_meas_process_measurement() but it is not checked if
the interval end could be detected or not.
- Add a return code to lchan_meas_process_measurement()
- Ensure that the return code is checked in the unit-test
Change-Id: I9e00ce683e8c44528804f65181dbfed9e85e3aed
Related: OS#2975
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/measurement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h index a2367c83..4f04ffa2 100644 --- a/include/osmo-bts/measurement.h +++ b/include/osmo-bts/measurement.h @@ -8,7 +8,7 @@ int lchan_new_ul_meas(struct gsm_lchan *lchan, struct bts_ul_meas *ulm, uint32_t int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn); -void lchan_meas_process_measurement(struct gsm_lchan *lchan, struct bts_ul_meas *ulm, uint32_t fn); +int lchan_meas_process_measurement(struct gsm_lchan *lchan, struct bts_ul_meas *ulm, uint32_t fn); void lchan_meas_reset(struct gsm_lchan *lchan); |