From 6c51d6f4d2e035e9f453a3229e5089e6b5379e99 Mon Sep 17 00:00:00 2001 From: Jeremy BĂ­cha Date: Fri, 21 Aug 2026 21:09:20 +0200 Subject: debian: Sync with Debian --- debian/tests/control | 8 ++++++++ debian/tests/python-gi-test | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 debian/tests/control create mode 100755 debian/tests/python-gi-test (limited to 'debian/tests') diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..45b5378 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,8 @@ +Tests: python-gi-test +Depends: + gir1.2-ayatanacommon-0.1, + python3, + python3-gi, +Restrictions: + allow-stderr, + superficial, diff --git a/debian/tests/python-gi-test b/debian/tests/python-gi-test new file mode 100755 index 0000000..9754ea1 --- /dev/null +++ b/debian/tests/python-gi-test @@ -0,0 +1,10 @@ +#!/usr/bin/python3 +# +# Make sure gobject introspection works + +import gi + +gi.require_version('AyatanaCommon', '0.1') +from gi.repository import AyatanaCommon + +assert AyatanaCommon.utils_is_gnome() in (True, False) -- cgit v1.2.3