diff --git a/dependencies.py b/dependencies.py index 6ada955..7eb0e57 100644 --- a/dependencies.py +++ b/dependencies.py @@ -273,7 +273,8 @@ class Libzim(Dependency): git_remote = "https://github.com/openzim/libzim.git" git_dir = "libzim" - Builder = MesonBuilder + class Builder(MesonBuilder): + test_option = "-t 8" class ZimTools(Dependency): diff --git a/dependency_utils.py b/dependency_utils.py index 2670a1a..d218974 100644 --- a/dependency_utils.py +++ b/dependency_utils.py @@ -351,6 +351,7 @@ class CMakeBuilder(MakeBuilder): class MesonBuilder(Builder): configure_option = "" + test_option = "" @property def library_type(self): @@ -392,7 +393,7 @@ class MesonBuilder(Builder): and not self.buildEnv.platform_info.static) ): raise SkipCommand() - command = "{} --verbose".format(self.buildEnv.mesontest_command) + command = "{} --verbose {}".format(self.buildEnv.mesontest_command, self.test_option) self.buildEnv.run_command(command, self.build_path, context) def _install(self, context):