Skip to content

Commit 478119c

Browse files
committed
pusch_processor_vectortest: option to print logs
Provide the option to print the logs of the PUSCH processor during the test.
1 parent 30e370e commit 478119c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unittests/phy/upper/channel_processors/pusch/pusch_processor_vectortest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,12 @@ class PuschProcessorFixture : public ::testing::TestWithParam<PuschProcessorPara
313313
ASSERT_NE(pusch_proc_factory, nullptr) << "Invalid PUSCH processor factory.";
314314

315315
// Create actual PUSCH processor.
316+
#if 0
317+
srslog::init();
318+
pusch_proc = pusch_proc_factory->create(srslog::fetch_basic_logger("PUSCH"));
319+
#else
316320
pusch_proc = pusch_proc_factory->create();
321+
#endif
317322
ASSERT_NE(pusch_proc, nullptr);
318323

319324
// Create actual PUSCH processor validator.

0 commit comments

Comments
 (0)