From 52b10dd7def5fa77366ee89bffde597b2e03d1a1 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 25 Jul 2020 15:11:19 -0600 Subject: 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 --- tools/binman/test/163_x86_rom_me_empty.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tools/binman/test/163_x86_rom_me_empty.dts (limited to 'tools/binman/test/163_x86_rom_me_empty.dts') diff --git a/tools/binman/test/163_x86_rom_me_empty.dts b/tools/binman/test/163_x86_rom_me_empty.dts new file mode 100644 index 0000000000..9349d2d724 --- /dev/null +++ b/tools/binman/test/163_x86_rom_me_empty.dts @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + sort-by-offset; + end-at-4gb; + size = <0x800000>; + intel-descriptor { + filename = "descriptor-empty.bin"; + }; + + intel-me { + filename = "me.bin"; + offset-unset; + }; + }; +}; -- cgit