mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-25 20:51:05 +00:00
Change data file suffix for ott
Change the suffix of the data files searched in `mbedtls_test.py` to `datax` as the generated files have this suffix.
This commit is contained in:
parent
06f88e9c42
commit
c242eea732
|
@ -185,7 +185,7 @@ class MbedTlsTest(BaseHostTest):
|
||||||
binary_path = self.get_config_item('image_path')
|
binary_path = self.get_config_item('image_path')
|
||||||
script_dir = os.path.split(os.path.abspath(__file__))[0]
|
script_dir = os.path.split(os.path.abspath(__file__))[0]
|
||||||
suite_name = os.path.splitext(os.path.basename(binary_path))[0]
|
suite_name = os.path.splitext(os.path.basename(binary_path))[0]
|
||||||
data_file = ".".join((suite_name, 'data'))
|
data_file = ".".join((suite_name, 'datax'))
|
||||||
data_file = os.path.join(script_dir, '..', 'mbedtls',
|
data_file = os.path.join(script_dir, '..', 'mbedtls',
|
||||||
suite_name, data_file)
|
suite_name, data_file)
|
||||||
if os.path.exists(data_file):
|
if os.path.exists(data_file):
|
||||||
|
|
Loading…
Reference in a new issue