blob: c5281ad02bbfb81d187b2581161bd5ca3fd1bc5c [file] [log] [blame]
Gabor Mezei95ecaaf2023-01-16 16:53:29 +01001#!/usr/bin/env python3
2"""Generate test data for ecp functions.
3
Gabor Mezeia9d82dd2023-02-13 14:10:23 +01004The command line usage, class structure and available methods are the same
5as in generate_bignum_tests.py.
Gabor Mezei95ecaaf2023-01-16 16:53:29 +01006"""
7
8# Copyright The Mbed TLS Contributors
Dave Rodgman16799db2023-11-02 19:47:20 +00009# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Gabor Mezei95ecaaf2023-01-16 16:53:29 +010010
11import sys
12
13import scripts_path # pylint: disable=unused-import
David Horstmanncd84bb22024-05-03 14:36:12 +010014from mbedtls_framework import test_data_generation
Gabor Mezei95ecaaf2023-01-16 16:53:29 +010015# Import modules containing additional test classes
16# Test function classes in these modules will be registered by
17# the framework
David Horstmanncd84bb22024-05-03 14:36:12 +010018from mbedtls_framework import ecp # pylint: disable=unused-import
Gabor Mezei95ecaaf2023-01-16 16:53:29 +010019
20if __name__ == '__main__':
21 # Use the section of the docstring relevant to the CLI as description
22 test_data_generation.main(sys.argv[1:], "\n".join(__doc__.splitlines()[:4]))