File tree 2 files changed +14
-5
lines changed
2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,14 @@ const EXCEPTION_PATHS: &[&str] = &[
56
56
// Integration test for platform-specific run-time feature detection:
57
57
"library/std/tests/run-time-detect.rs" ,
58
58
"library/std/src/net/test.rs" ,
59
+ "library/std/src/net/addr" ,
60
+ "library/std/src/net/udp" ,
59
61
"library/std/src/sys_common/mod.rs" ,
60
62
"library/std/src/sys_common/net.rs" ,
61
63
"library/std/src/sys_common/backtrace.rs" ,
64
+ "library/std/src/sys_common/remutex.rs" ,
65
+ "library/std/src/sync/mutex.rs" ,
66
+ "library/std/src/sync/rwlock.rs" ,
62
67
// panic_unwind shims
63
68
"library/std/src/panicking.rs" ,
64
69
"library/term" , // Not sure how to make this crate portable, but test crate needs it.
Original file line number Diff line number Diff line change @@ -20,15 +20,19 @@ pub fn check(root_path: &Path, bad: &mut bool) {
20
20
let mut skip = |path : & Path | {
21
21
let file_name = path. file_name ( ) . unwrap_or_default ( ) ;
22
22
if path. is_dir ( ) {
23
- super :: filter_dirs ( path) ||
24
- path. ends_with ( "src/test" ) ||
25
- path. ends_with ( "src/doc" ) ||
26
- path. ends_with ( "library/std" ) || // FIXME?
27
- ( file_name == "tests" || file_name == "benches" ) && !is_core ( path)
23
+ super :: filter_dirs ( path)
24
+ || path. ends_with ( "src/test" )
25
+ || path. ends_with ( "src/doc" )
26
+ || ( file_name == "tests" || file_name == "benches" ) && !is_core ( path)
28
27
} else {
29
28
let extension = path. extension ( ) . unwrap_or_default ( ) ;
30
29
extension != "rs"
31
30
|| ( file_name == "tests.rs" || file_name == "benches.rs" ) && !is_core ( path)
31
+ // UI tests with different names
32
+ || path. ends_with ( "src/thread/local/dynamic_tests.rs" )
33
+ || path. ends_with ( "src/sync/mpsc/sync_tests.rs" )
34
+ // Has copyright banner
35
+ || path. ends_with ( "src/sys/cloudabi/abi/cloudabi.rs" )
32
36
}
33
37
} ;
34
38
You can’t perform that action at this time.
0 commit comments