
9 Jul
2018
9 Jul
'18
9:50 p.m.
On 6 July 2018 at 10:27, Simon Glass sjg@chromium.org wrote:
This fake entry is used for testing. At present it only has one behaviour which is to return an invalid set of entry positions, to cause an error.
The fake entry will need to be used for other things too. Allow the test .dts file to specify the behaviour of the fake entry, so we can control its behaviour easily.
While we are here, drop the ReadContents() method, since this only applies to subclasses of Entry_blob, which Entry__testing is not.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
tools/binman/etype/_testing.py | 14 ++++++++++---- tools/binman/test/41_unknown_pos_size.dts | 1 + 2 files changed, 11 insertions(+), 4 deletions(-)
Applied to u-boot-dm