forked from OSchip/llvm-project
				
			[dotest] Don't spend time replacing spaces in print output.
Replacing all spaces with dashes seems like a lot of needless work for a string that's just printed. llvm-svn: 370231
This commit is contained in:
		
							parent
							
								
									f7ca0fe1c8
								
							
						
					
					
						commit
						0a114b3571
					
				| 
						 | 
				
			
			@ -1274,14 +1274,6 @@ def run_suite():
 | 
			
		|||
    configString = "arch=%s compiler=%s" % (configuration.arch,
 | 
			
		||||
                                            configuration.compiler)
 | 
			
		||||
 | 
			
		||||
    # Translate ' ' to '-' for pathname component.
 | 
			
		||||
    if six.PY2:
 | 
			
		||||
        import string
 | 
			
		||||
        tbl = string.maketrans(' ', '-')
 | 
			
		||||
    else:
 | 
			
		||||
        tbl = str.maketrans(' ', '-')
 | 
			
		||||
    configPostfix = configString.translate(tbl)
 | 
			
		||||
 | 
			
		||||
    # Output the configuration.
 | 
			
		||||
    if configuration.verbose:
 | 
			
		||||
        sys.stderr.write("\nConfiguration: " + configString + "\n")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue