06 Feb, 2020

1 commit

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     

08 Jan, 2020

1 commit

  • 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: Philippe Reynes
    Tested-by: Heinrich Schuchardt

    Philippe Reynes
     

21 Sep, 2019

1 commit


17 Jul, 2019

1 commit


16 Feb, 2019

1 commit

  • In test/py/conftest.py the assumption is made that for if a test is called
    with `ut unicode` the test function name starts with 'unicode_test_'. As
    the Unicode tests did not follow this naming scheme they were not executed
    by `make tests`.

    Rename the Unicode test functions.

    Signed-off-by: Heinrich Schuchardt

    Heinrich Schuchardt
     

13 Feb, 2019

1 commit


24 Sep, 2018

4 commits