From: Thomas Huth <thuth@redhat.com>
To: "Aleksandar Markovic" <amarkovic@wavecomp.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"Eric Blake" <eblake@redhat.com>, "Max Reitz" <mreitz@redhat.com>,
"Kevin Wolf" <kwolf@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: Petar Jovanovic <pjovanovic@wavecomp.com>,
Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] Question: How to integrate simple tests for a new platform so that they fit in well within QEMU
Date: Wed, 8 Aug 2018 09:56:34 +0200 [thread overview]
Message-ID: <e589005c-cea6-5ad4-983b-9dda0eac003d@redhat.com> (raw)
In-Reply-To: <BN7PR08MB48688EB667F7EDFF86B90D2CC6200@BN7PR08MB4868.namprd08.prod.outlook.com>
On 08/07/2018 02:34 PM, Aleksandar Markovic wrote:
> Hello, folks.
>
> We are introducing a new MIPS platform - called nanoMIPS - to the QEMU.
>
> Besides providing new functionality, we would like to integrate into QEMU some basic testing capabilities for that new platform. Something like this:
>
> Enable user to specify cross compiler and, using QEMU Linux user mode:
> a. execute several tests that are just almost minimal tests of emulation of selected instructions.
> b. execute several tests that are just almost minimal tests of translation of selected system calls.
>
> In other words, this would enable a user to run "smoke tests" for nanoMIPS platform, and perhaps to use these tests as a starting point for some other tests.
>
> My question is:
>
> 1. Is this a good idea at all?
Yes, it certainly is!
> 2. If yes, what would be the best way to integrate these tests into current QEMU test organization?
Best way is to use the test infrastructure in tests/tcg (see mail from
Richard).
Another possibility is to add a simple test to tests/boot-serial-test.c
- but this only works if your machine can output something to the serial
console with some few lines of assembly code.
Thomas
next prev parent reply other threads:[~2018-08-08 7:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-07 12:34 [Qemu-devel] Question: How to integrate simple tests for a new platform so that they fit in well within QEMU Aleksandar Markovic
2018-08-07 19:39 ` Richard Henderson
2018-08-08 7:56 ` Thomas Huth [this message]
2018-08-08 9:19 ` Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e589005c-cea6-5ad4-983b-9dda0eac003d@redhat.com \
--to=thuth@redhat.com \
--cc=amarkovic@wavecomp.com \
--cc=eblake@redhat.com \
--cc=f4bug@amsat.org \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=pjovanovic@wavecomp.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).