]> Git Repo - qemu.git/commitdiff
tests/tpm-tests: Use g_test_skip() to mark skipped tests
authorThomas Huth <[email protected]>
Wed, 24 Apr 2019 09:43:13 +0000 (11:43 +0200)
committerThomas Huth <[email protected]>
Wed, 8 May 2019 14:59:28 +0000 (16:59 +0200)
Since we do not use gtester anymore (which had a bug here),
we can now use g_test_skip() to mark skipped tests.

Reviewed-by: Marc-André Lureau <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Message-Id: <20190424094557[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
tests/tpm-tests.c

index 582ec0cfd4f767235397ea5f34b4207863014c55..e640777aa9c261f65eb88d7364e04054747281e5 100644 (file)
@@ -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;
     }
 
This page took 0.027883 seconds and 4 git commands to generate.