File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,8 @@ pub fn test_scm_rights() {
186
186
close ( w) . unwrap ( ) ;
187
187
}
188
188
189
+ // Disable the test on emulated platforms due to a lack of support of AF_ALG in QEMU
190
+ #[ cfg_attr( not( any( target_arch = "x86_64" , target_arch = "i686" ) ) , ignore) ]
189
191
#[ cfg( any( target_os = "linux" , target_os= "android" ) ) ]
190
192
#[ test]
191
193
pub fn test_af_alg_cipher ( ) {
@@ -248,6 +250,8 @@ pub fn test_af_alg_cipher() {
248
250
assert_eq ! ( decrypted, payload) ;
249
251
}
250
252
253
+ // Disable the test on emulated platforms due to a lack of support of AF_ALG in QEMU
254
+ #[ cfg_attr( not( any( target_arch = "x86_64" , target_arch = "i686" ) ) , ignore) ]
251
255
#[ cfg( any( target_os = "linux" , target_os= "android" ) ) ]
252
256
#[ test]
253
257
pub fn test_af_alg_aead ( ) {
You can’t perform that action at this time.
0 commit comments