mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	tests: avoid interleaving lines in test output
This commit is contained in:
		
							parent
							
								
									8371adf6b5
								
							
						
					
					
						commit
						3dd3079095
					
				
					 13 changed files with 14 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,7 @@ shift "$((OPTIND-1))"
 | 
			
		|||
${MAKE:-make} -f ../tools/autotest.mk SEED="$seed" EXTRA_FLAGS="$abcopt" *.v
 | 
			
		||||
 | 
			
		||||
for f in `egrep -l 'expect-(wr-ports|rd-ports|rd-clk)' *.v`; do
 | 
			
		||||
	echo -n "Testing expectations for $f .."
 | 
			
		||||
	echo "Testing expectations for $f .."
 | 
			
		||||
	../../yosys -f verilog -qp "proc; opt; memory -nomap;; dump -outfile ${f%.v}.dmp t:\$mem_v2" $f
 | 
			
		||||
	if grep -q expect-wr-ports $f; then
 | 
			
		||||
		grep -q "parameter \\\\WR_PORTS $(gawk '/expect-wr-ports/ { print $3; }' $f)\$" ${f%.v}.dmp ||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue