File tree Expand file tree Collapse file tree 3 files changed +17
-24
lines changed
unstable-feature-usage-metrics-incremental
unstable-feature-usage-metrics Expand file tree Collapse file tree 3 files changed +17
-24
lines changed Original file line number Diff line number Diff line change 1717//!
1818//! # Test history
1919//!
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)
2828
2929use std:: cell:: OnceCell ;
3030use std:: path:: { Path , PathBuf } ;
Original file line number Diff line number Diff line change 77//!
88//! # Test history
99//!
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`.
1212
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)
1615
1716use std:: path:: { Path , PathBuf } ;
1817
@@ -87,9 +86,7 @@ fn test_metrics_errors() {
8786 . env ( "RUST_BACKTRACE" , "short" )
8887 . arg ( "-Zmetrics-dir=invaliddirectorythatdefinitelydoesntexist" )
8988 . 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" )
9390 . assert_stdout_not_contains ( "internal compiler error" ) ;
9491 } ) ;
9592}
Original file line number Diff line number Diff line change 77//!
88//! # Test history
99//!
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.
1211
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)
1614
1715use std:: path:: { Path , PathBuf } ;
1816
@@ -85,9 +83,7 @@ fn test_metrics_errors() {
8583 . env ( "RUST_BACKTRACE" , "short" )
8684 . arg ( "-Zmetrics-dir=invaliddirectorythatdefinitelydoesntexist" )
8785 . 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" )
9187 . assert_stdout_not_contains ( "internal compiler error" ) ;
9288 } ) ;
9389}
You can’t perform that action at this time.
0 commit comments