qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]