aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/modtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/modules/modtest.py')
-rw-r--r--mesonbuild/modules/modtest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/modules/modtest.py b/mesonbuild/modules/modtest.py
index 7a4c19d..dd2e2ff 100644
--- a/mesonbuild/modules/modtest.py
+++ b/mesonbuild/modules/modtest.py
@@ -16,6 +16,11 @@ from . import ExtensionModule
from ..interpreterbase import noKwargs
class TestModule(ExtensionModule):
+ def __init__(self, interpreter):
+ super().__init__(interpreter)
+ self.methods.update({
+ 'print_hello': self.print_hello,
+ })
@noKwargs
def print_hello(self, state, args, kwargs):