mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 18:57:18 +08:00 
			
		
		
		
	Makefile: run tests sequentially
Our tests are not designed to be run in parallel, for example there are multiple tests in disparate packages all trying to run textnextnethttp which will compete for access to port 9191, we shouldn't let tests run in parallel.
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							| @ -58,12 +58,12 @@ endif | |||||||
| test: check-cert | test: check-cert | ||||||
| ifeq "$(TRAVIS)" "true" | ifeq "$(TRAVIS)" "true" | ||||||
| ifdef DARWIN | ifdef DARWIN | ||||||
| 	sudo -E go test -v $(ALL_PACKAGES) | 	sudo -E go test -p 1 -v $(ALL_PACKAGES) | ||||||
| else | else | ||||||
| 	go test $(TEST_FLAGS) $(BUILD_FLAGS) $(ALL_PACKAGES) | 	go test -p 1 $(TEST_FLAGS) $(BUILD_FLAGS) $(ALL_PACKAGES) | ||||||
| endif | endif | ||||||
| else | else | ||||||
| 	go test $(TEST_FLAGS) $(BUILD_FLAGS) $(ALL_PACKAGES) | 	go test -p 1 $(TEST_FLAGS) $(BUILD_FLAGS) $(ALL_PACKAGES) | ||||||
| endif | endif | ||||||
| ifneq "$(shell which lldb-server)" "" | ifneq "$(shell which lldb-server)" "" | ||||||
| 	@echo | 	@echo | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 aarzilli
					aarzilli