Move some long-running tests to release-only

This commit is contained in:
Paul Hauner 2019-04-15 09:59:35 +10:00
parent a46f676f89
commit 89bc15f77e
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,5 @@
#![cfg(not(debug_assertions))]
use env_logger::{Builder, Env};
use log::debug;
use test_harness::BeaconChainHarness;

View File

@ -1,3 +1,4 @@
#![cfg(not(debug_assertions))]
// Tests the available fork-choice algorithms
extern crate beacon_chain;

View File

@ -1,6 +1,7 @@
#![cfg(not(debug_assertions))]
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,
@ -63,7 +64,6 @@ 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 = {