[PATCH] binman: Don't change the descriptor in tests
sjg at chromium.org
Mon Jul 27 04:01:36 CEST 2020
On Sat, 25 Jul 2020 at 15:24, Simon Glass <sjg at chromium.org> wrote:
> At present testPackX86RomMeNoDesc removes the contents of the
> descriptor.bin file and testPackX86RomMeMissingDesc removes the file
> If a test that relies on this file happens to run after it is removed, it
> will not work. Since we have no control over the selecting of tests that
> run in parallel and series, we must avoid changing the files.
> Update this tests to use separate files instead.
> Signed-off-by: Simon Glass <sjg at chromium.org>
> tools/binman/ftest.py | 8 +++----
> tools/binman/test/163_x86_rom_me_empty.dts | 22 ++++++++++++++++++++
> tools/binman/test/164_x86_rom_me_missing.dts | 22 ++++++++++++++++++++
> 3 files changed, 47 insertions(+), 5 deletions(-)
> create mode 100644 tools/binman/test/163_x86_rom_me_empty.dts
> create mode 100644 tools/binman/test/164_x86_rom_me_missing.dts
Applied to u-boot-dm.
More information about the U-Boot