Skip to content

Commit

Permalink
add missing config options in dump_test_config()
Browse files Browse the repository at this point in the history
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 <subrata.chatterjee@intel.com>
  • Loading branch information
subrata-chatterjee-intel committed Jun 22, 2024
1 parent 7010ed6 commit 5ae3a21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions teeio-validator/teeio_validator/ide_test_ini.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5ae3a21

Please sign in to comment.