From 5ae3a213a5d547a40180543421be4a811c3fb667 Mon Sep 17 00:00:00 2001 From: Subrata Chatterjee Date: Sat, 22 Jun 2024 15:28:52 +0300 Subject: [PATCH] add missing config options in dump_test_config() This patch adds missing 'Main' config options in dump_test_config() function. dump_test_config() prints all configs if log level is VERBOSE.'libspdm_log' and 'pcap_enable' options were missing in the dump. Signed-off-by: Subrata Chatterjee --- teeio-validator/teeio_validator/ide_test_ini.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teeio-validator/teeio_validator/ide_test_ini.c b/teeio-validator/teeio_validator/ide_test_ini.c index 11c7000..0e7f9b5 100644 --- a/teeio-validator/teeio_validator/ide_test_ini.c +++ b/teeio-validator/teeio_validator/ide_test_ini.c @@ -2449,6 +2449,8 @@ void dump_test_config(IDE_TEST_CONFIG *test_config) TEEIO_DEBUG((TEEIO_DEBUG_VERBOSE, "[Main]\n")); TEEIO_DEBUG((TEEIO_DEBUG_VERBOSE, " pci_log=%s\n", main_config->pci_log == 0 ? "false":"true")); TEEIO_DEBUG((TEEIO_DEBUG_VERBOSE, " debug_level=%s\n", get_ide_log_level_string(main_config->debug_level))); + TEEIO_DEBUG((TEEIO_DEBUG_VERBOSE, " libspdm_log=%s\n", main_config->libspdm_log == 0 ? "false":"true")); + TEEIO_DEBUG((TEEIO_DEBUG_VERBOSE, " pcap_enable=%s\n", main_config->pcap_enable == 0 ? "false":"true")); TEEIO_DEBUG((TEEIO_DEBUG_VERBOSE, "\n")); IDE_TEST_PORTS_CONFIG *ports = &test_config->ports_config;