mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
validate:launcher: Use GST_VALIDATE_SCENARIO envvar to set scenarios
Summary: Instead of concidering all apps will have a --set-scenario argument which is not going to be the case as soon as we run the tests through LD_PRELOAD Reviewers: Mathieu_Du Differential Revision: http://phabricator.freedesktop.org/D70
This commit is contained in:
parent
2fe03f1993
commit
bbd04eef4c
1 changed files with 6 additions and 2 deletions
|
@ -462,8 +462,12 @@ class GstValidateTest(Test):
|
|||
self.add_env_variable("GST_VALIDATE_SCENARIOS_PATH",
|
||||
os.environ["GST_VALIDATE_SCENARIOS_PATH"])
|
||||
if self.scenario is not None:
|
||||
self.add_arguments("--set-scenario",
|
||||
self.scenario.get_execution_name())
|
||||
os.environ["GST_VALIDATE_SCENARIO"] = self.scenario.get_execution_name()
|
||||
self.add_env_variable("GST_VALIDATE_SCENARIO",
|
||||
os.environ["GST_VALIDATE_SCENARIO"])
|
||||
|
||||
if "LD_PRELOAD" in os.environ:
|
||||
self.add_env_variable("LD_PRELOAD", os.environ["LD_PRELOAD"])
|
||||
|
||||
def get_extra_log_content(self, extralog):
|
||||
value = Test.get_extra_log_content(self, extralog)
|
||||
|
|
Loading…
Reference in a new issue