Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

command_ut.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Stephen Warren's avatar
    cc156f3f
    test/py: test the shell if command · cc156f3f
    Stephen Warren authored
    
    Migrate all most tests from command_ut.c into the Python test system.
    This allows the tests to be run against any U-Boot binary that supports
    the if command (i.e. where hush is enabled) without requiring that
    binary to be permanently bloated with the code from command_ut.
    
    Some tests in command_ut.c can only be executed from C code, since they
    test internal (more unit-level) features of various U-Boot APIs. The
    migrated tests can all operate directly from the U-Boot console.
    
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    Acked-by: default avatarSimon Glass <sjg@chromium.org>
    cc156f3f
    History
    test/py: test the shell if command
    Stephen Warren authored
    
    Migrate all most tests from command_ut.c into the Python test system.
    This allows the tests to be run against any U-Boot binary that supports
    the if command (i.e. where hush is enabled) without requiring that
    binary to be permanently bloated with the code from command_ut.
    
    Some tests in command_ut.c can only be executed from C code, since they
    test internal (more unit-level) features of various U-Boot APIs. The
    migrated tests can all operate directly from the U-Boot console.
    
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    Acked-by: default avatarSimon Glass <sjg@chromium.org>