mirror of
				https://github.com/YosysHQ/sby.git
				synced 2025-10-31 04:52:30 +00:00 
			
		
		
		
	tests: Do not run the same SBY task multiple times in parallel
This commit is contained in:
		
							parent
							
								
									83a1aa23c8
								
							
						
					
					
						commit
						90616c280b
					
				
					 3 changed files with 20 additions and 14 deletions
				
			
		
							
								
								
									
										18
									
								
								docs/examples/fifo/fifo_extra_tests.sby
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								docs/examples/fifo/fifo_extra_tests.sby
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| --pycode-begin-- | ||||
| # This is for our test infrastructure and not part of the example | ||||
| 
 | ||||
| # Read fifo.sby and patch it on the fly: | ||||
| for line in open("fifo.sby"): | ||||
|     line = line.rstrip() | ||||
| 
 | ||||
|     # change the tasks to run as tests | ||||
|     if line.endswith(": default"): | ||||
|         line = "nofullskip noverific : default" | ||||
| 
 | ||||
|     output(line) | ||||
| 
 | ||||
|     # add expect fail to the failing tasks | ||||
|     if line == "[options]": | ||||
|         output("nofullskip: expect fail") | ||||
| 
 | ||||
| --pycode-end-- | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue