Skip to content

Commit

Permalink
don't run tests via array in test_vm
Browse files Browse the repository at this point in the history
  • Loading branch information
alexytsu committed Oct 18, 2023
1 parent 11d3ba8 commit 1c36bd4
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test_vm/tests/suite/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,3 @@ mod test_vm_test;
mod verified_claim_test;
mod verifreg_remove_datacap_test;
mod withdraw_balance_test;

use fil_actors_integration_tests::tests::TEST_REGISTRY;
use fil_actors_runtime::test_blockstores::MemoryBlockstore;
use test_vm::TestVM;

#[test]
pub fn run_all_tests() {
for test in TEST_REGISTRY.lock().unwrap().iter() {
println!("Running test: {}", test.0);
let store = MemoryBlockstore::new();
let v = TestVM::<MemoryBlockstore>::new_with_singletons(&store);
test.1(&v);
}
}

0 comments on commit 1c36bd4

Please sign in to comment.