Use pre-generated keys for python integration tests

This changes the AccountMaker to use pre-generated keys when
available, speeding up test runs.

As a side-effect we no longer need to compile the integration tests in
release mode with debug symbols.  Losing debug symbols (-g) means
cargo no longer wants to recompile everything all the time too.

Tested locally and seems to works.
This commit is contained in:
Floris Bruynooghe
2020-02-06 23:24:09 +01:00
committed by Alexander Krotov
parent 0864e640ed
commit 515c753d11
6 changed files with 39 additions and 26 deletions

View File

@@ -698,7 +698,7 @@ pub unsafe extern "C" fn dc_preconfigure_keypair(
secret_data: *const libc::c_char,
) -> i32 {
if context.is_null() {
eprintln!("ignoring careless call to _dc_save_self_keypair()");
eprintln!("ignoring careless call to dc_preconfigure_keypair()");
return 0;
}
let ffi_context = &*context;