mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
validate:launcher:check: Add support for gst-tester-1.0
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/189>
This commit is contained in:
parent
b669bb0327
commit
884c45ff3e
1 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,7 @@ from launcher import config
|
|||
from launcher.utils import printc, Colors, get_gst_build_valgrind_suppressions
|
||||
from launcher.main import setup_launcher_from_args
|
||||
from launcher.baseclasses import VALGRIND_TIMEOUT_FACTOR
|
||||
from launcher.apps.gstvalidate import GstValidateSimpleTest
|
||||
|
||||
|
||||
class MesonTest(Test):
|
||||
|
@ -350,6 +351,13 @@ class GstCheckTestsManager(MesonTestsManager):
|
|||
if name in all_sublaunchers_tests:
|
||||
continue
|
||||
gst_tests = self.tests_info[test['cmd'][0]][1]
|
||||
if os.path.basename(test['cmd'][0]) in \
|
||||
['gst-tester-1.0', 'gst-tester-1.0.exe']:
|
||||
fpath = test['cmd'][1]
|
||||
self.add_test(GstValidateSimpleTest(fpath, name,
|
||||
self.options,
|
||||
self.reporter))
|
||||
continue
|
||||
if not gst_tests:
|
||||
child_env = self.get_child_env(name)
|
||||
self.add_test(GstCheckTest(name, self.options, self.reporter, test,
|
||||
|
|
Loading…
Reference in a new issue