mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Only include seed if report if randomized
This commit is contained in:
parent
e168b0ac7a
commit
e5ed6418db
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ module Spectator
|
||||||
|
|
||||||
# Generate a report and pass it along to the formatter.
|
# Generate a report and pass it along to the formatter.
|
||||||
remaining = @suite.size - results.size
|
remaining = @suite.size - results.size
|
||||||
report = Report.new(results, elapsed, remaining, @config.fail_blank?, @config.random_seed?)
|
seed = (@config.random_seed? if @config.randomize?)
|
||||||
|
report = Report.new(results, elapsed, remaining, @config.fail_blank?, seed)
|
||||||
@config.each_formatter(&.end_suite(report, profile(report)))
|
@config.each_formatter(&.end_suite(report, profile(report)))
|
||||||
|
|
||||||
!report.failed?
|
!report.failed?
|
||||||
|
|
Loading…
Reference in a new issue