revme 0.2.0

Rust Ethereum Virtual Machine Executable
Documentation
mod merkle_trie;
mod models;
mod runner;
mod trace;

use std::{env, path::PathBuf};

pub fn main() {
    let args: Vec<String> = env::args().collect();
    println!("args:{:?}", args);
    let folder_path = if args.len() == 1 {
        //tests/GeneralStateTests/
        //temp_folder"
        "./bins/revm-ethereum-tests/temp_folder"
    } else {
        let second = &args[1];
        if second == "eth" {
            "./bins/revm-ethereum-tests/tests/GeneralStateTests"
        } else {
            second
        }
    };
    let test_files = runner::find_all_json_tests(PathBuf::from(folder_path));
    println!("Start running tests on: {:?}", folder_path);
    runner::run(test_files);
}