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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/modules/modtest.py b/mesonbuild/modules/modtest.py
index c9247e6..dc347e2 100644
--- a/mesonbuild/modules/modtest.py
+++ b/mesonbuild/modules/modtest.py
@@ -12,10 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+from . import ModuleReturnValue
+
class TestModule:
def print_hello(self, state, args, kwargs):
print('Hello from a Meson module')
+ rv = ModuleReturnValue(None, [])
+ return rv
def initialize():
return TestModule()