File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,7 @@ pub struct CrateResult {
46
46
runs : [ Option < BuildTestResult > ; 2 ] ,
47
47
}
48
48
49
- string_enum ! (
50
- pub enum Comparison {
49
+ string_enum ! ( pub enum Comparison {
51
50
Regressed => "regressed" ,
52
51
Fixed => "fixed" ,
53
52
Skipped => "skipped" ,
@@ -213,7 +212,7 @@ pub fn gen<DB: ReadResults, W: ReportWriter + Display>(
213
212
ex : & Experiment ,
214
213
dest : & W ,
215
214
config : & Config ,
216
- ) -> Fallible < ( TestResults ) > {
215
+ ) -> Fallible < TestResults > {
217
216
let res = generate_report ( db, config, ex) ?;
218
217
219
218
info ! ( "writing results to {}" , dest) ;
Original file line number Diff line number Diff line change 1
1
use experiments:: { Experiment , Status } ;
2
2
use prelude:: * ;
3
- use report;
4
- use report:: { Comparison , TestResults } ;
3
+ use report:: { self , Comparison , TestResults } ;
5
4
use results:: DatabaseDB ;
6
5
use rusoto_core:: request:: HttpClient ;
7
6
use rusoto_s3:: S3Client ;
@@ -15,7 +14,7 @@ use utils;
15
14
// Automatically wake up the reports generator thread every 10 minutes to check for new jobs
16
15
const AUTOMATIC_THREAD_WAKEUP : u64 = 600 ;
17
16
18
- fn generate_report ( data : & Data , ex : & Experiment , results : & DatabaseDB ) -> Fallible < ( TestResults ) > {
17
+ fn generate_report ( data : & Data , ex : & Experiment , results : & DatabaseDB ) -> Fallible < TestResults > {
19
18
let client = S3Client :: new_with (
20
19
HttpClient :: new ( ) ?,
21
20
data. tokens . reports_bucket . to_aws_credentials ( ) ,
You can’t perform that action at this time.
0 commit comments