aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/7 gnome/gir/prog.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/frameworks/7 gnome/gir/prog.py')
-rwxr-xr-xmeson/test cases/frameworks/7 gnome/gir/prog.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/7 gnome/gir/prog.py b/meson/test cases/frameworks/7 gnome/gir/prog.py
new file mode 100755
index 000000000..aa1f9a774
--- /dev/null
+++ b/meson/test cases/frameworks/7 gnome/gir/prog.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python3
+from gi.repository import Meson, MesonDep1, MesonDep2
+
+if __name__ == "__main__":
+ s = Meson.Sample.new()
+ dep1 = MesonDep1.Dep1.new()
+ dep2 = MesonDep2.Dep2.new("Hello, meson/py!")
+ s.print_message(dep1, dep2)
+
+ s2 = Meson.Sample2.new()
+ s2.print_message()