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:
Thibault Saunier 2020-05-03 01:24:32 -04:00
parent b669bb0327
commit 884c45ff3e

View file

@ -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,