mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate: Avoid readding several time the same test in the tests result list
This commit is contained in:
parent
b9712e336e
commit
1bd6b2767f
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@ class Reporter(Loggable):
|
||||||
raise UnknownResult("%s" % test.result)
|
raise UnknownResult("%s" % test.result)
|
||||||
|
|
||||||
def after_test(self):
|
def after_test(self):
|
||||||
self.results.append(self._current_test)
|
if self._current_test not in self.results:
|
||||||
|
self.results.append(self._current_test)
|
||||||
|
|
||||||
self.add_results(self._current_test)
|
self.add_results(self._current_test)
|
||||||
self.out.close()
|
self.out.close()
|
||||||
self.out = None
|
self.out = None
|
||||||
|
|
Loading…
Reference in a new issue