mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	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
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user