Refactors the common code of test and bench targets into the solana_runtime::bpf_test_utils module. (#13203)

(cherry picked from commit 65ee3a6bdd)
This commit is contained in:
Alexander Meißner
2020-10-29 10:04:47 +01:00
committed by Michael Vines
parent 24bd4ff6d4
commit 36b7c2ea97
6 changed files with 109 additions and 253 deletions

View File

@@ -1237,7 +1237,7 @@ fn call<'a>(
#[cfg(test)]
mod tests {
use super::*;
use crate::tests::{MockComputeMeter, MockLogger};
use solana_runtime::bpf_test_utils::{MockComputeMeter, MockLogger};
use solana_sdk::hash::hashv;
use std::str::FromStr;