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.
@@ -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
