Change in osmo-bts[master]: tests/tx_power: Speed up test

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri May 29 12:47:16 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/18577 )


Change subject: tests/tx_power: Speed up test
......................................................................

tests/tx_power: Speed up test

Otherwise test takes around 5 seconds due to each power ramping step
waiting for 1 sec.

Change-Id: I703e1137f30e4874ef40785bec6100b50b9633a7
---
M tests/tx_power/tx_power_test.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/77/18577/1

diff --git a/tests/tx_power/tx_power_test.c b/tests/tx_power/tx_power_test.c
index 34fbeb7..9d38d83 100644
--- a/tests/tx_power/tx_power_test.c
+++ b/tests/tx_power/tx_power_test.c
@@ -197,6 +197,7 @@
 {
 	printf("Testing tx_power ramping for sysmoBTS 1020\n");
 	trx->power_params = tpp_1020;
+	trx->power_params.ramp.step_interval_sec = 0; /* speedup test */
 	trx->max_power_red = 0;
 
 	power_ramp_start(trx, to_mdB(dBm), 0);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/18577
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I703e1137f30e4874ef40785bec6100b50b9633a7
Gerrit-Change-Number: 18577
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200529/53bd768a/attachment.htm>


More information about the gerrit-log mailing list