mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Merge pull request #4212 from jix/make-test-noverific
tests: Support running `make test` with YOSYS_NOVERIFIC=1
This commit is contained in:
		
						commit
						f04bb1065e
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										13
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -848,9 +848,22 @@ else | ||||||
| ABCOPT="" | ABCOPT="" | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
|  | # When YOSYS_NOVERIFIC is set as a make variable, also export it to the
 | ||||||
|  | # enviornment, so that `YOSYS_NOVERIFIC=1 make test` _and_
 | ||||||
|  | # `make test YOSYS_NOVERIFIC=1` will run with verific disabled.
 | ||||||
|  | ifeq ($(YOSYS_NOVERIFIC),1) | ||||||
|  | export YOSYS_NOVERIFIC | ||||||
|  | endif | ||||||
|  | 
 | ||||||
| test: $(TARGETS) $(EXTRA_TARGETS) | test: $(TARGETS) $(EXTRA_TARGETS) | ||||||
| ifeq ($(ENABLE_VERIFIC),1) | ifeq ($(ENABLE_VERIFIC),1) | ||||||
|  | ifeq ($(YOSYS_NOVERIFIC),1) | ||||||
|  | 	@echo | ||||||
|  | 	@echo "Running tests without verific support due to YOSYS_NOVERIFIC=1" | ||||||
|  | 	@echo | ||||||
|  | else | ||||||
| 	+cd tests/verific && bash run-test.sh $(SEEDOPT) | 	+cd tests/verific && bash run-test.sh $(SEEDOPT) | ||||||
|  | endif | ||||||
| endif | endif | ||||||
| 	+cd tests/simple && bash run-test.sh $(SEEDOPT) | 	+cd tests/simple && bash run-test.sh $(SEEDOPT) | ||||||
| 	+cd tests/simple_abc9 && bash run-test.sh $(SEEDOPT) | 	+cd tests/simple_abc9 && bash run-test.sh $(SEEDOPT) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue