Work around bug related to running ctests thorugh make test.
This commit is contained in:
		
							parent
							
								
									f20dd846b8
								
							
						
					
					
						commit
						6e41d2f679
					
				
							
								
								
									
										4
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							@ -50,7 +50,9 @@ override_dh_auto_configure: $(BUILD_FLAGS_FILE)
 | 
			
		||||
	                         $(BOOTSTRAP_PARALLEL) --verbose
 | 
			
		||||
 | 
			
		||||
override_dh_auto_test:
 | 
			
		||||
	HOME="`pwd`/Build" dh_auto_test --buildsystem=cmake -- ARGS="-E CTestTestUpload --timeout 2000"
 | 
			
		||||
	# Pass -j1 to "make test" as a workaround, see https://gitlab.kitware.com/cmake/cmake/issues/17165
 | 
			
		||||
	# The tests are still run in parallel as debhelper pass -jX as ARGS to ctest.
 | 
			
		||||
	dh_auto_test --buildsystem=cmake -- -j1 ARGS="-E CTestTestUpload --timeout 2000"
 | 
			
		||||
 | 
			
		||||
override_dh_auto_clean:
 | 
			
		||||
	dh_auto_clean
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user