]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Add PStore command tests
authorFrédéric Danis <frederic.danis@collabora.com>
Fri, 20 Mar 2020 09:59:23 +0000 (10:59 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Oct 2020 15:16:34 +0000 (11:16 -0400)
commit26f555a6e5454043ed0b0a12d6fce252f5ae5b80
tree0b3920f6562c10d71e78216bc9c058eda8727550
parent9744d1a547847dea89277b00606fe4c837c1b4ea
test: Add PStore command tests

Add PStore command to sandbox and sandbox64 defconfigs.
Add test checking:
- 'pstore display' of all records
- 'pstore display' only the 2nd dump record
- 'pstore save' of all records

Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
[trini: Adjust to always load files from source directory]
Signed-off-by: Tom Rini <trini@konsulko.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>
configs/sandbox64_defconfig
configs/sandbox_defconfig
test/py/tests/test_pstore.py [new file with mode: 0644]
test/py/tests/test_pstore_data_console.hex [new file with mode: 0644]
test/py/tests/test_pstore_data_panic1.hex [new file with mode: 0644]
test/py/tests/test_pstore_data_panic2.hex [new file with mode: 0644]