Fix tests

This commit is contained in:
James Westman 2021-10-28 00:13:46 -05:00
parent c576fdf211
commit afecd744ca
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
3 changed files with 3 additions and 2 deletions

View file

@ -29,4 +29,4 @@ if not meson.is_subproject()
install_subdir('gtkblueprinttool', install_dir: py.get_install_dir()) install_subdir('gtkblueprinttool', install_dir: py.get_install_dir())
endif endif
test('tests', py, args: ['-m', 'unittest']) subdir('tests')

1
tests/meson.build Normal file
View file

@ -0,0 +1 @@
test('tests', py, args: ['-m', 'unittest'], workdir: meson.source_root())

View file

@ -52,7 +52,7 @@ class TestParser(unittest.TestCase):
} }
} }
submenu {} submenu {}
item _("Copy") copy-symbolic app.copy; item _("Copy") "copy-symbolic" "app.copy";
} }
Label { Label {