]> git.baikalelectronics.ru Git - uboot.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)
commit504368bd73abc7d95ae18e85b55af7760f2e5576
treef3d362ffe05105fda6613f9c4419e33a2f937015
parente59dc0f209ce3650049540522540163e430e5490
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]