Skip to content

Commit

Permalink
tests/bsim bis: Reduce the test verbosity
Browse files Browse the repository at this point in the history
The test was printing one line for each packet it was sending
by default. That creates a huge log and slows things down.
Instead, let's only print those with verbosity set at 4 or higher.

(cherry picked from commit 482416d)

Original-Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
GitOrigin-RevId: 482416d
Change-Id: I423d6d16dc144fa959bb1138a151f162fc7f22b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4995031
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
aescolar authored and Chromeos LUCI committed Oct 31, 2023
1 parent 38293a5 commit 19e64f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/ll/bis/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static void iso_send(struct k_work *work)
iso_data_len = MAX(sizeof(seq_num), ((seq_num % CONFIG_BT_ISO_TX_MTU) + 1));
net_buf_add_mem(buf, iso_data, iso_data_len);

printk("ISO send: seq_num %u\n", seq_num);
bs_trace_info_time(4, "ISO send: seq_num %u\n", seq_num);
ret = bt_iso_chan_send(&bis_iso_chan, buf, seq_num++,
BT_ISO_TIMESTAMP_NONE);
if (ret < 0) {
Expand Down

0 comments on commit 19e64f8

Please sign in to comment.