diff --git a/ci/run.sh b/ci/run.sh index 1ee9317d7..1a770dbfe 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -33,6 +33,7 @@ else export CARGO_SUBCMD="test" export OPT="${OPT} " export OPT_RELEASE="${OPT_RELEASE} " + export OPT_RELEASE_IGNORED="${OPT_RELEASE} -- --ignored" fi # Run all the test configurations: diff --git a/src/key.rs b/src/key.rs index 0b1fc7895..7399220fa 100644 --- a/src/key.rs +++ b/src/key.rs @@ -524,6 +524,7 @@ i8pcjGO+IZffvyZJVRWfVooBJmWWbPB1pueo3tx8w3+fcuzpxz+RLFKaPyqXO+dD } #[test] + #[ignore] // is too expensive fn test_from_slice_roundtrip() { let (public_key, private_key) = crate::pgp::dc_pgp_create_keypair(CString::new("hello").unwrap().as_ptr()).unwrap(); @@ -538,6 +539,7 @@ i8pcjGO+IZffvyZJVRWfVooBJmWWbPB1pueo3tx8w3+fcuzpxz+RLFKaPyqXO+dD } #[test] + #[ignore] // is too expensive fn test_ascii_roundtrip() { let (public_key, private_key) = crate::pgp::dc_pgp_create_keypair(CString::new("hello").unwrap().as_ptr()).unwrap(); diff --git a/tests/stress.rs b/tests/stress.rs index 534e1c550..7db6bb641 100644 --- a/tests/stress.rs +++ b/tests/stress.rs @@ -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];