Skip long-running tests in debug

This commit is contained in:
Paul Hauner 2019-04-03 17:27:32 +11:00
parent 1913be0c6f
commit 914e0cf1fc
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -1,5 +1,6 @@
use serde_derive::Deserialize;
use serde_yaml;
#[cfg(not(debug_assertions))]
use state_processing::{
per_block_processing, per_block_processing_without_verifying_block_signature,
per_slot_processing,
@ -62,6 +63,7 @@ fn test_read_yaml() {
}
#[test]
#[cfg(not(debug_assertions))]
fn run_state_transition_tests_small() {
// Test sanity-check_small-config_32-vals.yaml
let mut file = {