girepository: Add a couple of very simple unit tests

For the moment, this is enough to roughly verify that the port to
`GTypeInstance` has not massively broken things. It’s not anywhere near
sufficient to qualify as a proper test suite though.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3155
This commit is contained in:
Philip Withnall
2023-11-23 23:20:21 +00:00
parent 78c94d81ed
commit e699037fef
3 changed files with 206 additions and 0 deletions

View File

@@ -252,3 +252,7 @@ if enable_gir
extra_args: gir_args + libgirepository_gir_args,
)
endif
if build_tests
subdir('tests')
endif