mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
validate:launcher: Do not copy logs for non flaky tests
That looks weird for users and is incorrect
This commit is contained in:
parent
81b1368237
commit
3fa393c498
1 changed files with 3 additions and 2 deletions
|
@ -1975,16 +1975,17 @@ class _TestsLauncher(Loggable):
|
|||
return False
|
||||
|
||||
if retry_on_failures:
|
||||
if not self.options.redirect_logs:
|
||||
if not self.options.redirect_logs and test.allow_flakiness:
|
||||
test.copy_logfiles()
|
||||
printc(test)
|
||||
test.clean()
|
||||
to_retry.append(test)
|
||||
|
||||
# Not adding to final report if flakiness is tolerated
|
||||
to_report = not test.allow_flakiness
|
||||
if to_report:
|
||||
self.reporter.after_test(test)
|
||||
if retry_on_failures:
|
||||
test.clean()
|
||||
if self.start_new_job(tests_left):
|
||||
jobs_running += 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue