File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -3562,13 +3562,13 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
3562
3562
)
3563
3563
. run ( ) ;
3564
3564
3565
- p . cargo ( "test --doc" )
3566
- . with_stderr (
3567
- " \
3568
- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
3569
- [DOCTEST] foo
3570
- " ,
3571
- )
3565
+ // This has been modified to attempt to diagnose spurious errors on CI.
3566
+ // For some reason, this is recompiling the lib when it shouldn't. If the
3567
+ // root cause is ever found, the changes here should be reverted.
3568
+ // See https://github.com/rust-lang/cargo/issues/6887
3569
+ p . cargo ( "test --doc -vv" )
3570
+ . with_stderr_does_not_contain ( "[COMPILING] foo [..]" )
3571
+ . with_stderr_contains ( "[DOCTEST] foo" )
3572
3572
. with_stdout (
3573
3573
"
3574
3574
running 1 test
@@ -3578,6 +3578,7 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
3578
3578
3579
3579
" ,
3580
3580
)
3581
+ . env ( "RUST_LOG" , "cargo=trace" )
3581
3582
. run ( ) ;
3582
3583
3583
3584
p. cargo ( "test --lib --doc" )
You can’t perform that action at this time.
0 commit comments