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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 21/49] tests/tcg/i386: add runner for test-i386-fprem
Date: Fri, 18 May 2018 13:30:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

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?

Thanks,

Paolo



reply via email to

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