mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
validate:launcher: Let testsuite know the actual file in which they are
This commit is contained in:
parent
bf30bf4fd7
commit
f6c62d071c
1 changed files with 3 additions and 0 deletions
|
@ -816,7 +816,10 @@ class _TestsLauncher(Loggable):
|
|||
tester.options = options
|
||||
globals()[tester.name] = tester
|
||||
globals()["options"] = options
|
||||
c__file__ = __file__
|
||||
globals()["__file__"] = self.options.config
|
||||
execfile(self.options.config, globals())
|
||||
globals()["__file__"] = c__file__
|
||||
|
||||
for tester in self.testers:
|
||||
tester.set_settings(options, args, self.reporter)
|
||||
|
|
Loading…
Reference in a new issue