Add a longer timeout for meson test.
This commit is contained in:
parent
c54439831d
commit
0d18fbfd3d
|
@ -273,7 +273,8 @@ class Libzim(Dependency):
|
||||||
git_remote = "https://github.com/openzim/libzim.git"
|
git_remote = "https://github.com/openzim/libzim.git"
|
||||||
git_dir = "libzim"
|
git_dir = "libzim"
|
||||||
|
|
||||||
Builder = MesonBuilder
|
class Builder(MesonBuilder):
|
||||||
|
test_option = "-t 8"
|
||||||
|
|
||||||
|
|
||||||
class ZimTools(Dependency):
|
class ZimTools(Dependency):
|
||||||
|
|
|
@ -351,6 +351,7 @@ class CMakeBuilder(MakeBuilder):
|
||||||
|
|
||||||
class MesonBuilder(Builder):
|
class MesonBuilder(Builder):
|
||||||
configure_option = ""
|
configure_option = ""
|
||||||
|
test_option = ""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def library_type(self):
|
def library_type(self):
|
||||||
|
@ -392,7 +393,7 @@ class MesonBuilder(Builder):
|
||||||
and not self.buildEnv.platform_info.static)
|
and not self.buildEnv.platform_info.static)
|
||||||
):
|
):
|
||||||
raise SkipCommand()
|
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)
|
self.buildEnv.run_command(command, self.build_path, context)
|
||||||
|
|
||||||
def _install(self, context):
|
def _install(self, context):
|
||||||
|
|
Loading…
Reference in New Issue