diff options
| author | Simon Glass <[email protected]> | 2026-03-06 11:12:45 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2026-03-18 06:14:16 -0600 |
| commit | c28fbed34939ba7d39a04eecd40838439708e902 (patch) | |
| tree | b5c5d3f682c85829ad47d652660a58ad4b61e92b /tools | |
| parent | 1b044493e5d90c07ea2a3158c0e0e6a966a27890 (diff) | |
binman: test: Move x86 binary test data to test/x86/
Move descriptor.bin, fitimage.bin.gz and ifwi.bin.gz into the x86/
subdirectory alongside the x86 DTS test files and update all
references.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/binman/ftest.py | 8 | ||||
| -rw-r--r-- | tools/binman/test/x86/descriptor.bin (renamed from tools/binman/test/descriptor.bin) | bin | 4096 -> 4096 bytes | |||
| -rw-r--r-- | tools/binman/test/x86/fitimage.bin.gz (renamed from tools/binman/test/fitimage.bin.gz) | bin | 8418 -> 8418 bytes | |||
| -rw-r--r-- | tools/binman/test/x86/ifwi.bin.gz (renamed from tools/binman/test/ifwi.bin.gz) | bin | 1884 -> 1884 bytes |
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index 3f57ef05ead..601d1f7eb8c 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -696,7 +696,7 @@ class TestFunctional(unittest.TestCase): @classmethod def _SetupDescriptor(cls): - with open(cls.TestFile('descriptor.bin'), 'rb') as fd: + with open(cls.TestFile('x86/descriptor.bin'), 'rb') as fd: TestFunctional._MakeInputFile('descriptor.bin', fd.read()) @classmethod @@ -1237,7 +1237,7 @@ class TestFunctional(unittest.TestCase): def testPackX86RomMe(self): """Test that an x86 ROM with an ME region can be created""" data = self._DoReadFile('x86/rom_me.dts') - expected_desc = tools.read_file(self.TestFile('descriptor.bin')) + expected_desc = tools.read_file(self.TestFile('x86/descriptor.bin')) if data[:0x1000] != expected_desc: self.fail('Expected descriptor binary at start of image') self.assertEqual(ME_DATA, data[0x1000:0x1000 + len(ME_DATA)]) @@ -2530,7 +2530,7 @@ class TestFunctional(unittest.TestCase): self._SetupTplElf() # Intel Integrated Firmware Image (IFWI) file - with gzip.open(self.TestFile('%s.gz' % fname), 'rb') as fd: + with gzip.open(self.TestFile('x86/%s.gz' % fname), 'rb') as fd: data = fd.read() TestFunctional._MakeInputFile(fname,data) @@ -2540,7 +2540,7 @@ class TestFunctional(unittest.TestCase): Args: data: Conents of output file """ - expected_desc = tools.read_file(self.TestFile('descriptor.bin')) + expected_desc = tools.read_file(self.TestFile('x86/descriptor.bin')) if data[:0x1000] != expected_desc: self.fail('Expected descriptor binary at start of image') diff --git a/tools/binman/test/descriptor.bin b/tools/binman/test/x86/descriptor.bin Binary files differindex 3d549436c27..3d549436c27 100644 --- a/tools/binman/test/descriptor.bin +++ b/tools/binman/test/x86/descriptor.bin diff --git a/tools/binman/test/fitimage.bin.gz b/tools/binman/test/x86/fitimage.bin.gz Binary files differindex 0a9dcfc4248..0a9dcfc4248 100644 --- a/tools/binman/test/fitimage.bin.gz +++ b/tools/binman/test/x86/fitimage.bin.gz diff --git a/tools/binman/test/ifwi.bin.gz b/tools/binman/test/x86/ifwi.bin.gz Binary files differindex 25d72892944..25d72892944 100644 --- a/tools/binman/test/ifwi.bin.gz +++ b/tools/binman/test/x86/ifwi.bin.gz |
