test: cmd/bdinfo: consider PPC architecture specific info
On the power architecture the bdinfo command prints architecture specific information. The test needs to accept these output lines. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
committed by
Tom Rini
parent
3338e2e463
commit
c2ee1e3c4a
@@ -218,6 +218,15 @@ static int bdinfo_test_all(struct unit_test_state *uts)
|
||||
}
|
||||
|
||||
/* Check arch_print_bdinfo() output */
|
||||
if (IS_ENABLED(CONFIG_PPC)) {
|
||||
ut_check_console_linen(uts, "busfreq");
|
||||
if (IS_ENABLED(CONFIG_MPC8xx) || IS_ENABLED(CONFIG_E500))
|
||||
ut_check_console_linen(uts, "immr_base");
|
||||
ut_check_console_linen(uts, "bootflags");
|
||||
ut_check_console_linen(uts, "intfreq");
|
||||
ut_check_console_linen(uts, "addressing");
|
||||
}
|
||||
|
||||
if (IS_ENABLED(CONFIG_X86)) {
|
||||
ut_check_console_linen(uts, "prev table");
|
||||
ut_check_console_linen(uts, "clock_rate");
|
||||
|
||||
Reference in New Issue
Block a user