mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
validate:launcher:check: Make sure to register tests from the testsuite
Instead of having them listed from the app manager. This is needed to avoid backtrace as tests now have to be register when setting up the testsuite.
This commit is contained in:
parent
1a28e7b043
commit
8ab723b153
2 changed files with 2 additions and 1 deletions
|
@ -261,7 +261,7 @@ class GstCheckTestsManager(MesonTestsManager):
|
|||
|
||||
return child_env
|
||||
|
||||
def list_tests(self):
|
||||
def register_tests(self):
|
||||
if self.tests:
|
||||
return self.tests
|
||||
|
||||
|
|
|
@ -29,4 +29,5 @@ KNOWN_NOT_LEAKY = r'^check.gst-devtools.*|^check.gstreamer.*|^check-gst-plugins-
|
|||
def setup_tests(test_manager, options):
|
||||
if options.gst_check_leak_trace_testnames == 'known-not-leaky':
|
||||
options.gst_check_leak_trace_testnames = KNOWN_NOT_LEAKY
|
||||
test_manager.register_tests()
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue