Add makefile target for running the tests inside the docker container.
This commit is contained in:
		
							parent
							
								
									7da09fea74
								
							
						
					
					
						commit
						34985c9045
					
				
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @ -37,6 +37,11 @@ clean: | |||||||
| test: | test: | ||||||
| > cargo test --lib --test test_loader -- --test-threads $(TESTJOBS) | > cargo test --lib --test test_loader -- --test-threads $(TESTJOBS) | ||||||
| 
 | 
 | ||||||
|  | .PHONY: dockertest | ||||||
|  | dockertest: | ||||||
|  | > $(MAKE) -C docker/organic_test | ||||||
|  | > docker run --rm -i -t -v "$$(readlink -f ./):/.source:ro" -w / organic-test sh -c "cp -r /.source /source && cd /source && cargo test" | ||||||
|  | 
 | ||||||
| .PHONY: integrationtest | .PHONY: integrationtest | ||||||
| integrationtest: | integrationtest: | ||||||
| > cargo test --no-fail-fast --test test_loader -- --test-threads $(TESTJOBS) | > cargo test --no-fail-fast --test test_loader -- --test-threads $(TESTJOBS) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander