qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] tests/functional: Fix bad usage of has_cmd


From: Richard Henderson
Subject: Re: [PATCH] tests/functional: Fix bad usage of has_cmd
Date: Tue, 10 Sep 2024 10:55:28 -0700
User-agent: Mozilla Thunderbird

On 9/10/24 00:58, Thomas Huth wrote:
has_cmd returns a tuple, not a boolean value. This fixes a crash when
e.g. "tesseract" is not available in the test_m68k_nextcube test.

Reported-by: Richard Henderson<richard.henderson@linaro.org>
Signed-off-by: Thomas Huth<thuth@redhat.com>
---
  tests/functional/qemu_test/cmd.py       | 6 +++---
  tests/functional/qemu_test/tesseract.py | 3 ++-
  2 files changed, 5 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

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