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
     

14 Nov, 2019

1 commit

  • OP-TEE can get supplied with a devicetree and will then insert
    its firmware node and reserved-memory sections into it.
    As this devicetree often is not the one supplied to a later
    loaded kernel, a previous commit added functionality to transfer
    these nodes onto that new devicetree.

    To make sure this functionality stays intact, also add a test
    for the transfer functionality.

    Signed-off-by: Heiko Stuebner
    Reviewed-by: Simon Glass

    Heiko Stuebner