mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Improve tests/various/run-test.sh
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									f8512864cd
								
							
						
					
					
						commit
						3dd92fcd15
					
				
					 1 changed files with 6 additions and 8 deletions
				
			
		|  | @ -4,11 +4,9 @@ for x in *.ys; do | |||
| 	echo "Running $x.." | ||||
| 	../../yosys -ql ${x%.ys}.log $x | ||||
| done | ||||
| # Run any .sh files in this directory (with the exception of the file - run-test.sh | ||||
| shell_tests=$(echo *.sh | sed -e 's/run-test.sh//') | ||||
| if [ "$shell_tests" ]; then | ||||
|     for s in $shell_tests; do | ||||
|         echo "Running $s.." | ||||
|         bash $s | ||||
|     done | ||||
| fi | ||||
| for s in *.sh; do | ||||
| 	if [ "$s" != "run-test.sh" ]; then | ||||
| 		echo "Running $s.." | ||||
| 		bash $s | ||||
| 	fi | ||||
| done | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue