mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
validate: launcher: Do not force using current module dir to run check tests
This commit is contained in:
parent
158507585c
commit
a39ef816a6
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,7 @@ class MesonTestsManager(TestsManager):
|
||||||
arggroup.add_argument("--meson-build-dir",
|
arggroup.add_argument("--meson-build-dir",
|
||||||
action="append",
|
action="append",
|
||||||
dest='meson_build_dirs',
|
dest='meson_build_dirs',
|
||||||
default=[config.BUILDDIR],
|
default=[],
|
||||||
help="defines the paths to look for GstValidate tools.")
|
help="defines the paths to look for GstValidate tools.")
|
||||||
arggroup.add_argument("--meson-no-rebuild",
|
arggroup.add_argument("--meson-no-rebuild",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
|
@ -94,6 +94,8 @@ class MesonTestsManager(TestsManager):
|
||||||
help="Whether to avoid to rebuild tests before running them.")
|
help="Whether to avoid to rebuild tests before running them.")
|
||||||
|
|
||||||
def get_meson_tests(self):
|
def get_meson_tests(self):
|
||||||
|
if not self.options.meson_build_dirs:
|
||||||
|
self.options.meson_build_dirs = config.BUILDDIR
|
||||||
mesontests = []
|
mesontests = []
|
||||||
for i, bdir in enumerate(self.options.meson_build_dirs):
|
for i, bdir in enumerate(self.options.meson_build_dirs):
|
||||||
bdir = os.path.abspath(bdir)
|
bdir = os.path.abspath(bdir)
|
||||||
|
|
Loading…
Reference in a new issue