Ignore test_log.

This commit is contained in:
Gwenael Treguier 2015-11-11 14:29:40 +01:00
parent 8bff40b6d6
commit 50bfba1e1d

View File

@ -75,11 +75,8 @@ mod test {
} }
} }
#[test] #[test] #[ignore] // To avoid freezing tests
fn test_log() { fn test_log() {
if true { // To avoid freezing tests
return
}
unsafe { ffi::sqlite3_shutdown() }; unsafe { ffi::sqlite3_shutdown() };
super::config_log(Some(log_callback)).unwrap(); super::config_log(Some(log_callback)).unwrap();
//super::log(ffi::SQLITE_NOTICE, "message from rusqlite"); //super::log(ffi::SQLITE_NOTICE, "message from rusqlite");
@ -99,4 +96,4 @@ mod test {
db.trace(Some(trace_callback)); db.trace(Some(trace_callback));
db.execute_batch("PRAGMA application_id = 1").unwrap(); db.execute_batch("PRAGMA application_id = 1").unwrap();
} }
} }