mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	lf_check.py : read out the script return code.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
		
				
					committed by
					
						
						shivam
					
				
			
			
				
	
			
			
			
						parent
						
							cabed1cea7
						
					
				
				
					commit
					f0c7d21503
				
			@@ -998,6 +998,11 @@ QA Report Dashboard: lf_qa.py was not run as last script of test suite"""
 | 
			
		||||
        self.logger.info("Current Working Directory {}".format(os.getcwd()))
 | 
			
		||||
 | 
			
		||||
        # Since using "wait" above the return code will be set. 
 | 
			
		||||
        try:
 | 
			
		||||
            return_code = summary.returncode 
 | 
			
		||||
            self.logger.info("return code {return_code} for test: {command}".format(return_code=return_code,command=command_to_run))
 | 
			
		||||
        except BaseException as err:
 | 
			
		||||
            self.logger.info("issue reading return code err:{err}".format(err=err))
 | 
			
		||||
 | 
			
		||||
        self.logger.info(summary_output)
 | 
			
		||||
        stdout_log.write(summary_output)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user