test: ignore expensive tests by default

This makes interactively running the tests a much more pleasant
experience rather than something one dreads.  These tests will still
be run on the CI.  To run these manually run:

cargo test [TESTNAME] -- --ignored
This commit is contained in:
Floris Bruynooghe
2019-07-09 13:36:16 +02:00
committed by Friedel Ziegelmayer
parent 11eb86c77f
commit 816fa1df9b
3 changed files with 4 additions and 0 deletions

View File

@@ -643,6 +643,7 @@ unsafe fn stress_functions(context: &Context) {
}
#[test]
#[ignore] // is too expensive
fn test_encryption_decryption() {
unsafe {
let mut bad_data: [libc::c_uchar; 4096] = [0; 4096];