[gnome-builder/wip/chergert/flatpak-repo] flatpak: test resolution of llvm12 beta



commit 632258c6481301c47adfe07d784c55d893be0ce1
Author: Christian Hergert <chergert redhat com>
Date:   Tue Aug 24 14:27:28 2021 -0700

    flatpak: test resolution of llvm12 beta

 src/plugins/flatpak/daemon/test-flatpak.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/plugins/flatpak/daemon/test-flatpak.c b/src/plugins/flatpak/daemon/test-flatpak.c
index ad11a455d..431d16372 100644
--- a/src/plugins/flatpak/daemon/test-flatpak.c
+++ b/src/plugins/flatpak/daemon/test-flatpak.c
@@ -161,6 +161,13 @@ add_install_cb (GObject      *object,
   g_message (" Resolved to %s", resolved);
   g_assert_cmpstr (resolved, ==, "org.freedesktop.Sdk.Extension.rust-stable/aarch64/21.08beta");
 
+  g_message ("Resolving org.freedesktop.Sdk.Extension.llvm12 for org.gnome.Sdk/x86_64/41beta");
+  ret = ipc_flatpak_service_call_resolve_extension_sync (service, "org.gnome.Sdk/x86_64/41beta", 
"org.freedesktop.Sdk.Extension.llvm12", &resolved, NULL, &error);
+  g_assert_no_error (error);
+  g_assert_true (ret);
+  g_message (" Resolved to %s", resolved);
+  g_assert_cmpstr (resolved, ==, "org.freedesktop.Sdk.Extension.llvm12/x86_64/21.08beta");
+
   g_main_loop_quit (main_loop);
 }
 


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