File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -88,9 +88,11 @@ locally. More information is available in the [CI Readme][ci-readme].
88
88
### Disabling a test in the CI environment
89
89
90
90
Sometimes there are features that cannot be tested in the CI environment.
91
- To stop a test from running under CI, add ` #[cfg_attr(travis, ignore)] `
92
- to it. Please include a comment describing the reason it shouldn't run
93
- under CI, and a link to an upstream issue if possible!
91
+ To stop a test from causing a CI failure, add ` #[cfg_attr(travis, ignore)] `
92
+ to it. To prevent it from running entirely (in case the test process is
93
+ dying), add ` #[cfg(not(travis))] ` . Please include a comment describing
94
+ the reason it shouldn't run under CI, and a link to an upstream issue if
95
+ possible!
94
96
95
97
## bors, the bot who merges all the PRs
96
98
Original file line number Diff line number Diff line change @@ -193,6 +193,8 @@ fn test_preadv() {
193
193
194
194
#[ test]
195
195
#[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
196
+ // qemu-user does not yet implement process_vm_readv, cf. PR #568
197
+ #[ cfg( not( all( travis, any( target_arch = "arm" , target_arch = "aarch64" ) ) ) ) ]
196
198
fn test_process_vm_readv ( ) {
197
199
use nix:: unistd:: ForkResult :: * ;
198
200
use nix:: sys:: signal:: * ;
You can’t perform that action at this time.
0 commit comments