mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Added check for options.source_dir is none
							parent
							
								
									fa56189de5
								
							
						
					
					
						commit
						5f5014ef42
					
				| 
						 | 
				
			
			@ -144,7 +144,7 @@ if __name__ == '__main__':
 | 
			
		|||
            if not config:
 | 
			
		||||
                args_error(parser, "argument --test-config contains invalid path or identifier")
 | 
			
		||||
        elif not options.app_config:
 | 
			
		||||
            config = TestConfig.get_default_config(options.source_dir, mcu)
 | 
			
		||||
            config = TestConfig.get_default_config(options.source_dir or ['.'], mcu)
 | 
			
		||||
        else:
 | 
			
		||||
            config = options.app_config
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue