[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tests/tpm-tests: Use g_test_skip() to mark skip
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH] tests/tpm-tests: Use g_test_skip() to mark skipped tests |
Date: |
Wed, 24 Apr 2019 12:16:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 4/24/19 11:45 AM, Thomas Huth wrote:
> Since we do not use gtester anymore (which had a bug here),
> we can now use g_test_skip() to mark skipped tests.
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> tests/tpm-tests.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/tpm-tests.c b/tests/tpm-tests.c
> index 582ec0cfd4..e640777aa9 100644
> --- a/tests/tpm-tests.c
> +++ b/tests/tpm-tests.c
> @@ -22,7 +22,7 @@ static bool
> tpm_test_swtpm_skip(void)
> {
> if (!tpm_util_swtpm_has_tpm2()) {
> - g_test_message("swtpm not in PATH or missing --tpm2 support");
> + g_test_skip("swtpm not in PATH or missing --tpm2 support");
> return true;
> }
>
>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>