From 8a17fbf640109076cbfda9bb5860c67367ae0020 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 24 Apr 2019 11:43:13 +0200 Subject: tests/tpm-tests: Use g_test_skip() to mark skipped tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Berger Message-Id: <20190424094557.28404-1-thuth@redhat.com> Signed-off-by: Thomas Huth --- 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 582ec0c..e640777 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; } -- cgit v1.1