Use file_name parameter in walk_ssl_opt_sh()
Remove hardcoded file_name and use the parameter provided in the function. Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
This commit is contained in:
parent
546fc9ce9e
commit
079eaee8ca
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ state may override this method.
|
||||||
def walk_ssl_opt_sh(self, file_name):
|
def walk_ssl_opt_sh(self, file_name):
|
||||||
"""Iterate over the test cases in ssl-opt.sh or a file with a similar format."""
|
"""Iterate over the test cases in ssl-opt.sh or a file with a similar format."""
|
||||||
descriptions = self.new_per_file_state() # pylint: disable=assignment-from-none
|
descriptions = self.new_per_file_state() # pylint: disable=assignment-from-none
|
||||||
listed = subprocess.run(['tests/ssl-opt.sh', '-l'],
|
listed = subprocess.run([f'{file_name}', '-l'],
|
||||||
capture_output=True)
|
capture_output=True)
|
||||||
listed = set(map(lambda x: x.rstrip(), listed.stdout.splitlines()))
|
listed = set(map(lambda x: x.rstrip(), listed.stdout.splitlines()))
|
||||||
for description in listed:
|
for description in listed:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue