mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 11:12:29 +00:00 
			
		
		
		
	Improve yosys-smtbmc "solver not found" handling
Signed-off-by: Claire Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									de6006fbc8
								
							
						
					
					
						commit
						485f31f681
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -304,7 +304,11 @@ class SmtIo: | |||
| 
 | ||||
|     def p_open(self): | ||||
|         assert self.p is None | ||||
|         self.p = subprocess.Popen(self.popen_vargs, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | ||||
|         try: | ||||
|             self.p = subprocess.Popen(self.popen_vargs, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | ||||
|         except FileNotFoundError: | ||||
|             print("%s SMT Solver '%s' not found in path." % (self.timestamp(), self.popen_vargs[0]), flush=True) | ||||
|             sys.exit(1) | ||||
|         running_solvers[self.p_index] = self.p | ||||
|         self.p_running = True | ||||
|         self.p_next = None | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue