mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00

This file is empty now. Remove it and its uses. Signed-off-by: Simon Glass <sjg@chromium.org>
25 lines
710 B
C
25 lines
710 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Tests for addrmap command
|
|
*
|
|
* Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com>
|
|
*/
|
|
|
|
#include <console.h>
|
|
#include <test/ut.h>
|
|
|
|
/* Declare a new addrmap test */
|
|
#define ADDRMAP_TEST(_name, _flags) UNIT_TEST(_name, _flags, addrmap)
|
|
|
|
/* Test 'addrmap' command output */
|
|
static int addrmap_test_basic(struct unit_test_state *uts)
|
|
{
|
|
ut_assertok(run_command("addrmap", 0));
|
|
ut_assert_nextline(" vaddr paddr size");
|
|
ut_assert_nextline("================ ================ ================");
|
|
/* There should be at least one entry */
|
|
ut_assertok(!ut_check_console_end(uts));
|
|
|
|
return 0;
|
|
}
|
|
ADDRMAP_TEST(addrmap_test_basic, UTF_CONSOLE);
|