mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-22 21:58:05 -05:00
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
18 lines
446 B
Rust
18 lines
446 B
Rust
//! Command-line interface for running tests.
|
|
use std::path::PathBuf;
|
|
|
|
use clap::Parser;
|
|
use ef_tests::{cases::blockchain_test::BlockchainTests, Suite};
|
|
|
|
/// Command-line arguments for the test runner.
|
|
#[derive(Debug, Parser)]
|
|
pub struct TestRunnerCommand {
|
|
/// Path to the test suite
|
|
suite_path: PathBuf,
|
|
}
|
|
|
|
fn main() {
|
|
let cmd = TestRunnerCommand::parse();
|
|
BlockchainTests::new(cmd.suite_path.join("blockchain_tests")).run();
|
|
}
|