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 <david.horstmann@arm.com>
This commit is contained in:
parent
a8d1406107
commit
65d8c69e80
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue