mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	libcache: fix test
This commit is contained in:
		
							parent
							
								
									0d621ecc11
								
							
						
					
					
						commit
						9d2f9f7557
					
				
					 1 changed files with 10 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,4 @@
 | 
			
		|||
libcache -verbose
 | 
			
		||||
libcache -enable busdef.lib
 | 
			
		||||
 | 
			
		||||
logger -expect log "Caching is disabled by default." 1
 | 
			
		||||
| 
						 | 
				
			
			@ -14,8 +15,8 @@ logger -expect log "Caching data" 1
 | 
			
		|||
read_liberty -lib busdef.lib; design -reset
 | 
			
		||||
logger -check-expected
 | 
			
		||||
 | 
			
		||||
logger -expect log "Using caching data" 1
 | 
			
		||||
log Using caching data
 | 
			
		||||
logger -expect log "Using cached data" 1
 | 
			
		||||
log Using cached data
 | 
			
		||||
read_liberty normal.lib; design -reset
 | 
			
		||||
logger -check-expected
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -23,6 +24,13 @@ logger -expect log "Using cached data" 1
 | 
			
		|||
read_liberty -lib busdef.lib; design -reset
 | 
			
		||||
logger -check-expected
 | 
			
		||||
 | 
			
		||||
libcache -quiet
 | 
			
		||||
logger -expect log "Using cached data" 1
 | 
			
		||||
log Using cached data
 | 
			
		||||
read_liberty -lib busdef.lib; design -reset
 | 
			
		||||
logger -check-expected
 | 
			
		||||
libcache -verbose
 | 
			
		||||
 | 
			
		||||
libcache -purge busdef.lib
 | 
			
		||||
 | 
			
		||||
logger -expect log "Caching is disabled by default." 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue