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 <alex.ben...@linaro.org>
> ---
>  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