1. 24 7月, 2021 1 次提交
  2. 08 6月, 2021 1 次提交
  3. 12 3月, 2021 1 次提交
  4. 05 3月, 2021 1 次提交
  5. 25 2月, 2021 1 次提交
  6. 29 1月, 2021 1 次提交
  7. 05 12月, 2020 1 次提交
  8. 01 12月, 2020 1 次提交
    • S
      test: Add some tests for setexpr · 90a99017
      Simon Glass 提交于
      This command currently has no tests. Add some for basic assignment and the
      integer operations.
      
      Note that the default size for setexpr is ulong, which varies depending on
      the build machine. So for sandbox on a 64-bit host, this means that the
      default size is 64 bits.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      90a99017
  9. 08 8月, 2020 2 次提交
  10. 19 5月, 2020 1 次提交
    • S
      command: Remove the cmd_tbl_t typedef · 09140113
      Simon Glass 提交于
      We should not use typedefs in U-Boot. They cannot be used as forward
      declarations which means that header files must include the full header to
      access them.
      
      Drop the typedef and rename the struct to remove the _s suffix which is
      now not useful.
      
      This requires quite a few header-file additions.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      09140113
  11. 25 4月, 2020 1 次提交
  12. 16 4月, 2020 1 次提交
  13. 11 1月, 2020 1 次提交
    • P
      test/cmd_ut.c: fix cmd_ut_category · 3f05f087
      Philippe Reynes 提交于
      In the function cmd_ut_category, the prefix is used with
      the function strncmp to know if the prefix should be
      removed from the test name, even if the prefix is NULL.
      
      To avoid this issue, we consider that a prefix NULL
      mean no prefix. So we only try to remove the prefix
      from the test_name if the prefix is not NULL, then
      we avoid to call the function strncmp with a NULL
      prefix.
      
      Reported-by: Coverity CID 281110
      Fixes: 4ad4edfe ("cmd_ut: add a parameter prefix to the function cmd_ut_category")
      Signed-off-by: NPhilippe Reynes <philippe.reynes@softathome.com>
      3f05f087
  14. 08 1月, 2020 1 次提交
    • P
      cmd_ut: add a parameter prefix to the function cmd_ut_category · 4ad4edfe
      Philippe Reynes 提交于
      There is black magic in the file conftest.py that list
      all the test unit. Then, all those test unit are called
      in pytest. This call is done with the end of the name
      (for example checksum if the full name is bloblist_test_checksum).
      
      The result is that only test for dm are really executed.
      by pytest, all others tests are listed but never executed.
      
      This behaviour happens because the dm test unit only check
      the end of the name and others tests checks the full name.
      
      To fix this issue, I've added a prefix to the function
      cmd_ut_category, and this prefix is removed when looking
      for the unit test.
      Signed-off-by: NPhilippe Reynes <philippe.reynes@softathome.com>
      Tested-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      4ad4edfe
  15. 14 11月, 2019 1 次提交
  16. 09 2月, 2019 1 次提交
  17. 26 11月, 2018 1 次提交
  18. 24 9月, 2018 1 次提交
  19. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      83d290c5
  20. 04 12月, 2017 1 次提交
  21. 03 12月, 2017 1 次提交
  22. 20 8月, 2016 1 次提交
  23. 21 5月, 2015 4 次提交