Merge pull request #6698 from wernerlewis/bignum_mod_py
Bignum: Enable test generation from bignum_mod.py
This commit is contained in:
commit
c3902ac661
4 changed files with 6 additions and 1 deletions
|
@ -14,7 +14,10 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
from typing import Dict, List # pylint: disable=unused-import
|
||||||
|
|
||||||
from . import test_data_generation
|
from . import test_data_generation
|
||||||
|
from . import bignum_common # pylint: disable=unused-import
|
||||||
|
|
||||||
class BignumModTarget(test_data_generation.BaseTarget):
|
class BignumModTarget(test_data_generation.BaseTarget):
|
||||||
#pylint: disable=abstract-method, too-few-public-methods
|
#pylint: disable=abstract-method, too-few-public-methods
|
||||||
|
|
|
@ -71,6 +71,7 @@ if(GEN_FILES)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/bignum_common.py
|
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/bignum_common.py
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/bignum_core.py
|
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/bignum_core.py
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/bignum_mod_raw.py
|
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/bignum_mod_raw.py
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/bignum_mod.py
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/test_case.py
|
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/test_case.py
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/test_data_generation.py
|
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/test_data_generation.py
|
||||||
)
|
)
|
||||||
|
|
|
@ -95,6 +95,7 @@ generated_bignum_test_data: scripts/generate_bignum_tests.py
|
||||||
generated_bignum_test_data: ../scripts/mbedtls_dev/bignum_common.py
|
generated_bignum_test_data: ../scripts/mbedtls_dev/bignum_common.py
|
||||||
generated_bignum_test_data: ../scripts/mbedtls_dev/bignum_core.py
|
generated_bignum_test_data: ../scripts/mbedtls_dev/bignum_core.py
|
||||||
generated_bignum_test_data: ../scripts/mbedtls_dev/bignum_mod_raw.py
|
generated_bignum_test_data: ../scripts/mbedtls_dev/bignum_mod_raw.py
|
||||||
|
generated_bignum_test_data: ../scripts/mbedtls_dev/bignum_mod.py
|
||||||
generated_bignum_test_data: ../scripts/mbedtls_dev/test_case.py
|
generated_bignum_test_data: ../scripts/mbedtls_dev/test_case.py
|
||||||
generated_bignum_test_data: ../scripts/mbedtls_dev/test_data_generation.py
|
generated_bignum_test_data: ../scripts/mbedtls_dev/test_data_generation.py
|
||||||
generated_bignum_test_data:
|
generated_bignum_test_data:
|
||||||
|
|
|
@ -66,7 +66,7 @@ from mbedtls_dev import bignum_common
|
||||||
# Import modules containing additional test classes
|
# Import modules containing additional test classes
|
||||||
# Test function classes in these modules will be registered by
|
# Test function classes in these modules will be registered by
|
||||||
# the framework
|
# the framework
|
||||||
from mbedtls_dev import bignum_core, bignum_mod_raw # pylint: disable=unused-import
|
from mbedtls_dev import bignum_core, bignum_mod_raw, bignum_mod # pylint: disable=unused-import
|
||||||
|
|
||||||
class BignumTarget(test_data_generation.BaseTarget):
|
class BignumTarget(test_data_generation.BaseTarget):
|
||||||
#pylint: disable=too-few-public-methods
|
#pylint: disable=too-few-public-methods
|
||||||
|
|
Loading…
Reference in a new issue