Home
last modified time | relevance | path

Searched hist:"2 d934b59" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/tcg/tricore/
H A DMakefile.softmmu-target2d934b59 Wed May 12 05:20:36 CDT 2021 Bastian Koppelmann <kbastian@mail.uni-paderborn.de> tests/tcg/tricore: Add macros to create tests and first test 'abs'

This kind of tests is inspired by the riscv-tests repository. This adds
macros that makes it easy to create single instruction self containing
tests.

It is achieved by macros that create a test sequence for an
instruction and check for a supplied correct value. If the value is correct the
next instruction is tested. Otherwise we jump to fail handler that writes is
test number as a status code back to qemu that then exits on that status code.
If all tests pass we write back 0 as a status code and exit.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20210305170045.869437-7-kbastian@mail.uni-paderborn.de>
[AJB: add container_hosts]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-17-alex.bennee@linaro.org>