From 29e04f926da1bf290ee0d6ba593dedefe21fadf7 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 30 Apr 2021 15:22:21 +0100 Subject: [PATCH] trivial: Skip the efivar tests on Windows --- libfwupdplugin/fu-self-test.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libfwupdplugin/fu-self-test.c b/libfwupdplugin/fu-self-test.c index f7489a304..c8721db33 100644 --- a/libfwupdplugin/fu-self-test.c +++ b/libfwupdplugin/fu-self-test.c @@ -2390,6 +2390,11 @@ fu_efivar_func (void) g_autoptr(GError) error = NULL; g_autoptr(GPtrArray) names = NULL; +#ifndef __linux__ + g_test_skip ("only works on Linux"); + return; +#endif + /* check supported */ ret = fu_efivar_supported (&error); g_assert_no_error (error);