mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Merge pull request #3636 from YosysHQ/log_plugin
Call yosys_shutdown to properly cleanup plugins and tcl when expecting error
This commit is contained in:
		
						commit
						9bc9121b9e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -707,6 +707,7 @@ void log_check_expected() | |||
| 		if (item.second.current_count == item.second.expected_count) { | ||||
| 			log_warn_regexes.clear(); | ||||
| 			log("Expected error pattern '%s' found !!!\n", item.first.c_str()); | ||||
| 			yosys_shutdown(); | ||||
| 			#ifdef EMSCRIPTEN | ||||
| 				throw 0; | ||||
| 			#elif defined(_MSC_VER) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue