Skip to content

Commit

Permalink
test: Verify any file has been created during export
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Feb 21, 2024
1 parent b631ce5 commit 27f0910
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/integration/statetest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ set_tests_properties(
FIXTURES_SETUP EXPORT_JSON_TESTS
)

add_test(
NAME ${PREFIX}/export_to_json_created_files
COMMAND ${CMAKE_COMMAND} -E sha256sum ${EXPORT_DIR}/state_transition/block/known_block_hash.json
)
set_tests_properties(
${PREFIX}/export_to_json_created_files PROPERTIES
FIXTURES_REQUIRED EXPORT_JSON_TESTS
)

add_test(
NAME ${PREFIX}/execute_exported_tests
# TODO: Broken exported tests are filtered out.
Expand Down

0 comments on commit 27f0910

Please sign in to comment.