qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: Ensure TAP version is printed before other messages


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] tests: Ensure TAP version is printed before other messages
Date: Mon, 27 Feb 2023 23:01:43 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 27/2/23 18:40, Richard W.M. Jones wrote:
These two tests were failing with this error:

   stderr:
   TAP parsing error: version number must be on the first line
   [...]
   Unknown TAP version. The first line MUST be `TAP version <int>`. Assuming 
version 12.

This can be fixed by ensuring we always call g_test_init first in the
body of main.

Thanks: Daniel Berrange, for diagnosing the problem
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
---
  tests/qtest/fuzz-lsi53c895a-test.c | 4 ++--
  tests/qtest/rtl8139-test.c         | 5 +++--
  2 files changed, 5 insertions(+), 4 deletions(-)

Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Thanks for tackling this!



reply via email to

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