mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 19:19:21 +00:00
activates blockchain test
This commit is contained in:
parent
1ffb992674
commit
9596dbc267
@ -98,4 +98,6 @@ cliBuilder:
|
||||
./test_op_custom,
|
||||
./test_state_db,
|
||||
./test_difficulty,
|
||||
./test_transaction_json
|
||||
./test_transaction_json,
|
||||
./test_blockchain_json
|
||||
|
||||
|
@ -673,8 +673,8 @@ proc testFixture(node: JsonNode, testStatusIMPL: var TestStatus, debugMode = fal
|
||||
if not fixtureTested:
|
||||
echo getConfiguration().testSubject, " not tested at all, wrong index?"
|
||||
|
||||
proc main() =
|
||||
if paramCount() == 0:
|
||||
proc blockchainJsonMain*(debugMode = false) =
|
||||
if paramCount() == 0 or not debugMode:
|
||||
# run all test fixtures
|
||||
suite "block chain json tests":
|
||||
jsonTest("BlockchainTests", testFixture, skipBCTests)
|
||||
@ -704,7 +704,7 @@ when isMainModule:
|
||||
echo message
|
||||
quit(QuitSuccess)
|
||||
|
||||
main()
|
||||
blockchainJsonMain(true)
|
||||
|
||||
# lastBlockHash -> every fixture has it, hash of a block header
|
||||
# genesisRLP -> NOT every fixture has it, rlp bytes of genesis block header
|
||||
|
Loading…
x
Reference in New Issue
Block a user