diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py index 9e2715180..f1720a86d 100755 --- a/tools/cmake2meson.py +++ b/tools/cmake2meson.py @@ -199,6 +199,8 @@ class Converter: libcmd = 'static_library' args = t.args line = '%s_lib = %s(%s)' % (t.args[0].value, libcmd, self.convert_args(args, False)) + elif t.name == 'add_test': + line = 'test(%s)' % self.convert_args(t.args, False) elif t.name == 'option': optname = t.args[0].value description = t.args[1].value