-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #514 from ethereum/statetest_refactor
statetest: Extract test registration to separate function
- Loading branch information
Showing
6 changed files
with
55 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# evmone: Fast Ethereum Virtual Machine implementation | ||
# Copyright 2022 The evmone Authors. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Integration tests for evmone-statetest. | ||
|
||
set(PREFIX ${PREFIX}/statetest) | ||
set(TESTS1 ${CMAKE_CURRENT_SOURCE_DIR}/tests1) | ||
|
||
add_test( | ||
NAME ${PREFIX}/missing_arg | ||
COMMAND evmone-statetest | ||
) | ||
set_tests_properties( | ||
${PREFIX}/missing_arg PROPERTIES | ||
PASS_REGULAR_EXPRESSION "Missing argument with the path to the tests directory" | ||
) | ||
|
||
add_test( | ||
NAME ${PREFIX}/tests1_list | ||
COMMAND evmone-statetest ${TESTS1} --gtest_list_tests | ||
) | ||
set_tests_properties( | ||
${PREFIX}/tests1_list PROPERTIES | ||
PASS_REGULAR_EXPRESSION [[ | ||
B\. | ||
T | ||
SuiteA\. | ||
test1 | ||
test2 | ||
]] | ||
) |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters