]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Don't change the descriptor in tests
authorSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 21:11:19 +0000 (15:11 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 27 Jul 2020 01:59:57 +0000 (19:59 -0600)
commit52b10dd7def5fa77366ee89bffde597b2e03d1a1
treef3d362ffe05105fda6613f9c4419e33a2f937015
parent2548493ab41e8dfa8ed43b64fd0fa66c6f3cddc3
binman: Don't change the descriptor in tests

At present testPackX86RomMeNoDesc removes the contents of the
descriptor.bin file and testPackX86RomMeMissingDesc removes the file
completely.

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@chromium.org>
tools/binman/ftest.py
tools/binman/test/163_x86_rom_me_empty.dts [new file with mode: 0644]
tools/binman/test/164_x86_rom_me_missing.dts [new file with mode: 0644]