]> git.proxmox.com Git - mirror_qemu.git/commit - tests/hexloader-test.c
Add QTest testcase for the Intel Hexadecimal
authorSu Hang <suhang16@mails.ucas.ac.cn>
Thu, 16 Aug 2018 13:05:28 +0000 (14:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Aug 2018 13:05:28 +0000 (14:05 +0100)
commit645d3cbebb10b4ba3a3f25da7f3ad8a1f79fd1cc
tree6dc0b818b13183013d0b9a37f7ab31bb4d273ce4
parente4a25ed91947af1ec87f23725de4ac86a3353b48
Add QTest testcase for the Intel Hexadecimal

'test.hex' file is a memory test pattern stored in Hexadecimal Object
Format.  It loads at 0x10000 in RAM and contains values from 0 through
255.

The test case verifies that the expected memory test pattern was loaded.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Suggested-by: Steffen Gortz <qemu.ml@steffen-goertz.de>
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Su Hang <suhang16@mails.ucas.ac.cn>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[PMM: changed qtest_startf() to qtest_initf() to work with
 current master after the refactoring in commit 88b988c895e3c2]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
MAINTAINERS
configure
tests/Makefile.include
tests/hex-loader-check-data/test.hex [new file with mode: 0644]
tests/hexloader-test.c [new file with mode: 0644]