diff --git a/meson.build b/meson.build index c96e662..843f301 100644 --- a/meson.build +++ b/meson.build @@ -29,4 +29,4 @@ if not meson.is_subproject() install_subdir('gtkblueprinttool', install_dir: py.get_install_dir()) endif -test('tests', py, args: ['-m', 'unittest']) +subdir('tests') diff --git a/tests/meson.build b/tests/meson.build new file mode 100644 index 0000000..8e51a47 --- /dev/null +++ b/tests/meson.build @@ -0,0 +1 @@ +test('tests', py, args: ['-m', 'unittest'], workdir: meson.source_root()) diff --git a/tests/test_parser.py b/tests/test_parser.py index d8a70a6..eb140bc 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -52,7 +52,7 @@ class TestParser(unittest.TestCase): } } submenu {} - item _("Copy") copy-symbolic app.copy; + item _("Copy") "copy-symbolic" "app.copy"; } Label {