On Thu, Jun 21, 2018 at 11:41 AM, Alex Bennée <alex.ben...@linaro.org> wrote:
> Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
> ---
>  _posts/2018-06-21-tcg-testing.md | 129 +++++++++++++++++++++++++++++++
>  1 file changed, 129 insertions(+)
>  create mode 100644 _posts/2018-06-21-tcg-testing.md
>
> diff --git a/_posts/2018-06-21-tcg-testing.md 
> b/_posts/2018-06-21-tcg-testing.md

[...]

> +The `tests/tcg` directory still contains a number of source files we
> +don't build. Notably the cris, lm32, mips, openrisc and xtensa targets have
> +a set of tests that need a system emulator. Now we have the
> +infrastructure for compiling I hope we can get support for system
> +tests added fairly quickly. There will need to be some work to figure
> +out a nice common way to pass results back to the build-system. For
> +linux-user this is simple as all programs can simply return their exit
> +code however for system emulation this is a little more involved.

xtensa tests pass exit codes to the build system through semihosting calls.
If any of them fails make check fails as well.

-- 
Thanks.
-- Max

Reply via email to