[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 21/49] tests/tcg/i386: add runner for test-i3
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH v4 21/49] tests/tcg/i386: add runner for test-i386-fprem |
Date: |
Fri, 18 May 2018 13:27:25 +0100 |
User-agent: |
mu4e 1.1.0; emacs 26.1 |
Paolo Bonzini <address@hidden> writes:
> On 17/05/2018 19:46, Alex Bennée wrote:
>> The runner needs to compare against a reference run. We also only run
>> this test when SPEED=slow as it takes a while.
>>
>> Signed-off-by: Alex Bennée <address@hidden>
>> ---
>> tests/tcg/i386/Makefile.target | 11 +++++++++++
>> tests/tcg/i386/test-i386-fprem.c | 12 +++++++++---
>> 2 files changed, 20 insertions(+), 3 deletions(-)
>>
>> diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target
>> index 39a1627650..94fa50abbc 100644
>> --- a/tests/tcg/i386/Makefile.target
>> +++ b/tests/tcg/i386/Makefile.target
>> @@ -37,3 +37,14 @@ pi_10.com:
>> run-runcom: runcom pi_10.com
>> $(call quiet-command, $(QEMU) ./runcom ./pi_10.com > runcom.out,
>> "TEST", "$< on $(TARGET_NAME)")
>>
>> +ifeq ($(SPEED), slow)
>> +run-test-i386-fprem: test-i386-fprem
>> + $(call quiet-command, \
>> + $(QEMU) $< > $<.out && \
>> + diff -u $(I386_SRC)/$<.ref $<.out, \
>> + "TEST", "$< (default) on $(TARGET_NAME)")
>
> Where is the .ref file created?
Ooops, forgot to commit that.
I just manually ran it against real hardware ;-)
>
> Thanks,
>
> Paolo
--
Alex Bennée
- Re: [Qemu-devel] [PATCH v4 39/49] tests/tcg/alpha: add Alpha specific tests, (continued)
- [Qemu-devel] [PATCH v4 48/49] tests/Makefile.include: add [build|clean|check]-tcg targets, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 15/49] tests/tcg/multiarch: move most output to stdout, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 26/49] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 41/49] tests/tcg: enable building for m68k, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 21/49] tests/tcg/i386: add runner for test-i386-fprem, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 43/49] tests/tcg: enable building for sparc64, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 20/49] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 23/49] tests/tcg/x86_64: add Makefile.target, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 27/49] tests/tcg: enable building for ARM, Alex Bennée, 2018/05/17
- [Qemu-devel] [PATCH v4 33/49] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/05/17