mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 23:36:30 +03:00
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:
committed by
Alexander Krotov
parent
0864e640ed
commit
515c753d11
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user