Skip to content
Snippets Groups Projects
  1. Jul 15, 2016
  2. Jan 21, 2016
    • Stephen Warren's avatar
      test/py: Implement pytest infrastructure · d201506c
      Stephen Warren authored
      This tool aims to test U-Boot by executing U-Boot shell commands using the
      console interface. A single top-level script exists to execute or attach
      to the U-Boot console, run the entire script of tests against it, and
      summarize the results. Advantages of this approach are:
      
      - Testing is performed in the same way a user or script would interact
        with U-Boot; there can be no disconnect.
      - There is no need to write or embed test-related code into U-Boot itself.
        It is asserted that writing test-related code in Python is simpler and
        more flexible that writing it all in C.
      - It is reasonably simple to interact with U-Boot in this way.
      
      A few simple tests are provided as examples. Soon, we should convert as
      many as possible of the other tests in test/* and test/cmd_ut.c too.
      
      The hook scripts, relay control utilities, and udev rules I use for my
      own HW setup are published at https://github.com/swarren/uboot-test-hooks
      
      .
      
      See README.md for more details!
      
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Tested-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Tested-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: Simon Glass <sjg@chromium.org> #v3
      d201506c
  3. Apr 04, 2013
    • Simon Glass's avatar
      buildman - U-Boot multi-threaded builder and summary tool · fc3fe1c2
      Simon Glass authored
      
      This tool handles building U-Boot to check that you have not broken it
      with your patch series. It can build each individual commit and report
      which boards fail on which commits, and which errors come up. It also
      shows differences in image sizes due to particular commits.
      
      Buildman aims to make full use of multi-processor machines.
      
      Documentation and caveats are in tools/buildman/README.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      fc3fe1c2
  4. Apr 21, 2012
    • Simon Glass's avatar
      Add 'patman' patch generation, checking and submission script · 0d24de9d
      Simon Glass authored
      
      What is this?
      
      =============
      
      This tool is a Python script which:
      - Creates patch directly from your branch
      - Cleans them up by removing unwanted tags
      - Inserts a cover letter with change lists
      - Runs the patches through checkpatch.pl and its own checks
      - Optionally emails them out to selected people
      
      It is intended to automate patch creation and make it a less
      error-prone process. It is useful for U-Boot and Linux work so far,
      since it uses the checkpatch.pl script.
      
      It is configured almost entirely by tags it finds in your commits.
      This means that you can work on a number of different branches at
      once, and keep the settings with each branch rather than having to
      git format-patch, git send-email, etc. with the correct parameters
      each time. So for example if you put:
      
      in one of your commits, the series will be sent there.
      
      See the README file for full details.
      END
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      0d24de9d
Loading