aboutsummaryrefslogtreecommitdiffstats
path: root/tests/power/bs_power_loop_test.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 13:51:18 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 13:51:18 +0100
commit3abbb67ded7a766ae1efc1eeac1b3a61867371d0 (patch)
tree71b19de09564d7f23bb27de0a03170324ac02943 /tests/power/bs_power_loop_test.c
parentda084794a66327bcf55877b7a7cabfdddcf4f1e6 (diff)
tests: Explicitly drop category from log
Let's disable category here since we don't care about its formatting here. In any case, every test relying on logging output validation should always explicitly state the config to avoid issues in the future if default values change. Change-Id: I8713f4e04e92b4d7e211c499fc6e78983edfb139 Related: OS#5034
Diffstat (limited to 'tests/power/bs_power_loop_test.c')
-rw-r--r--tests/power/bs_power_loop_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/power/bs_power_loop_test.c b/tests/power/bs_power_loop_test.c
index 6f5f2bf1..0c9bbbf9 100644
--- a/tests/power/bs_power_loop_test.c
+++ b/tests/power/bs_power_loop_test.c
@@ -527,6 +527,8 @@ int main(int argc, char **argv)
osmo_stderr_target->categories[DL1C].loglevel = LOGL_DEBUG;
log_set_print_filename(osmo_stderr_target, 0);
log_set_use_color(osmo_stderr_target, 0);
+ log_set_print_category(osmo_stderr_target, 0);
+ log_set_print_category_hex(osmo_stderr_target, 0);
#define exec_test(test) \
exec_power_test(test, ARRAY_SIZE(test), #test)