e9f1b38984
* Make it possible to expose jsontests using feature flag * Add start_stop_hook for jsontests * Fix evmbin compile * Implement vm jsontests times to tsv result * Use /usr/bin/env to avoid errors on non-Debian systems * Move evmbin/bench.sh to scripts and add vm_jsontests script for convenience * Add tempdir as required deps for test-helpers * Address grumbles on comments * Detect file/folder automatically and add command docs * Fix bench script * times -> timings * typo: wrong if condition
45 lines
1.7 KiB
Rust
45 lines
1.7 KiB
Rust
// Copyright 2015-2018 Parity Technologies (UK) Ltd.
|
|
// This file is part of Parity.
|
|
|
|
// Parity is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Parity is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
//! Helpers and tests for operating on jsontests.
|
|
|
|
#[macro_use]
|
|
mod test_common;
|
|
|
|
mod transaction;
|
|
mod executive;
|
|
mod state;
|
|
mod chain;
|
|
mod trie;
|
|
|
|
#[cfg(test)]
|
|
mod difficulty;
|
|
|
|
pub use self::test_common::HookType;
|
|
|
|
pub use self::transaction::run_test_path as run_transaction_test_path;
|
|
pub use self::transaction::run_test_file as run_transaction_test_file;
|
|
pub use self::executive::run_test_path as run_executive_test_path;
|
|
pub use self::executive::run_test_file as run_executive_test_file;
|
|
pub use self::state::run_test_path as run_state_test_path;
|
|
pub use self::state::run_test_file as run_state_test_file;
|
|
pub use self::chain::run_test_path as run_chain_test_path;
|
|
pub use self::chain::run_test_file as run_chain_test_file;
|
|
pub use self::trie::run_generic_test_path as run_generic_trie_test_path;
|
|
pub use self::trie::run_generic_test_file as run_generic_trie_test_file;
|
|
pub use self::trie::run_secure_test_path as run_secure_trie_test_path;
|
|
pub use self::trie::run_secure_test_file as run_secure_trie_test_file;
|