Remove unnecessary check for ';' in filenames

The Makefiles already assume that filenames don't contain
special characters anyway, so we don't need to check this
in generate_psa_tests.py.

Signed-off-by: David Horstmann <[email protected]>
This commit is contained in:
David Horstmann
2021-10-25 13:16:04 +01:00
parent a8d1406107
commit 65d8c69e80
+2 -5
View File
@@ -715,11 +715,8 @@ def main(args):
# List in a cmake list format (i.e. ';'-separated)
if options.list_for_cmake:
filenames = []
for name in sorted(generator.TARGETS):
if ';' in generator.filename_for(name):
raise ValueError('Cannot pass filename containing \';\' to cmake: ' + name)
filenames.append(generator.filename_for(name))
print(';'.join(filenames), end='')
print(';'.join(generator.filename_for(name)
for name in sorted(generator.TARGETS)), end='')
return
if options.targets:
# Allow "-" as a special case so you can run