File tree Expand file tree Collapse file tree 3 files changed +17
-24
lines changed
unstable-feature-usage-metrics
unstable-feature-usage-metrics-incremental Expand file tree Collapse file tree 3 files changed +17
-24
lines changed Original file line number Diff line number Diff line change 17
17
//!
18
18
//! # Test history
19
19
//!
20
- //! - The previous rmake.rs iteration of this test was flakey for unknown reason on `i686-mingw`
21
- //! *specifically*, so assertion failures in this test was made extremely verbose to help
22
- //! diagnose why the ICE messages was different *specifically* on `i686-mingw`.
23
- //! - An attempt is made to re-enable this test on `i686-mingw` (by removing `ignore-windows`). If
24
- //! this test is still flakey, please restore the `ignore-windows` directive .
25
-
26
- //@ ignore-windows
27
- //FIXME(#128911): still flakey on i686-mingw.
20
+ //! The previous rmake.rs iteration of this test was flaky for unknown reason on
21
+ //! `i686-pc-windows-gnu` *specifically*, so assertion failures in this test was made extremely
22
+ //! verbose to help diagnose why the ICE messages was different. It appears that backtraces on
23
+ //! `i686-pc-windows-gnu` specifically are quite unpredictable in how many backtrace frames are
24
+ //! involved .
25
+
26
+ //@ ignore-cross-compile (exercising ICE dump on host)
27
+ //@ ignore-i686-pc-windows-gnu (unwind mechanism produces unpredictable backtraces)
28
28
29
29
use std:: cell:: OnceCell ;
30
30
use std:: path:: { Path , PathBuf } ;
Original file line number Diff line number Diff line change 7
7
//!
8
8
//! # Test history
9
9
//!
10
- //! - forked from dump-ice-to-disk test, which has flakeyness issues on i686-mingw, I'm assuming
11
- //! those will be present in this test as well on the same platform
10
+ //! - Forked from ` dump-ice-to-disk` test, which previously had backtrace unpredictability on
11
+ //! `i686-pc-windows-gnu`.
12
12
13
- //@ needs-target-std
14
- //@ ignore-windows
15
- //FIXME(#128911): still flakey on i686-mingw.
13
+ //@ ignore-cross-compile (exercises metrics incremental on host)
14
+ //@ ignore-i686-pc-windows-gnu (unwind mechanism produces unpredictable backtraces)
16
15
17
16
use std:: path:: { Path , PathBuf } ;
18
17
@@ -87,9 +86,7 @@ fn test_metrics_errors() {
87
86
. env ( "RUST_BACKTRACE" , "short" )
88
87
. arg ( "-Zmetrics-dir=invaliddirectorythatdefinitelydoesntexist" )
89
88
. run_fail ( )
90
- . assert_stderr_contains (
91
- "error: cannot dump feature usage metrics: No such file or directory" ,
92
- )
89
+ . assert_stderr_contains ( "error: cannot dump feature usage metrics" )
93
90
. assert_stdout_not_contains ( "internal compiler error" ) ;
94
91
} ) ;
95
92
}
Original file line number Diff line number Diff line change 7
7
//!
8
8
//! # Test history
9
9
//!
10
- //! - forked from dump-ice-to-disk test, which has flakeyness issues on i686-mingw, I'm assuming
11
- //! those will be present in this test as well on the same platform
10
+ //! - Forked from `dump-ice-to-disk` test, where `i686-pc-windows-gnu` has unpredictable backtraces.
12
11
13
- //@ needs-target-std
14
- //@ ignore-windows
15
- //FIXME(#128911): still flakey on i686-mingw.
12
+ //@ ignore-cross-compile (exercises metrics dump on host)
13
+ //@ ignore-i686-pc-windows-gnu (unwind mechanism produces unpredictable backtraces)
16
14
17
15
use std:: path:: { Path , PathBuf } ;
18
16
@@ -85,9 +83,7 @@ fn test_metrics_errors() {
85
83
. env ( "RUST_BACKTRACE" , "short" )
86
84
. arg ( "-Zmetrics-dir=invaliddirectorythatdefinitelydoesntexist" )
87
85
. run_fail ( )
88
- . assert_stderr_contains (
89
- "error: cannot dump feature usage metrics: No such file or directory" ,
90
- )
86
+ . assert_stderr_contains ( "error: cannot dump feature usage metrics" )
91
87
. assert_stdout_not_contains ( "internal compiler error" ) ;
92
88
} ) ;
93
89
}
You can’t perform that action at this time.
0 commit comments