Allow to filter out build-error messages
This commit is contained in:
		
							parent
							
								
									34a75c3c5c
								
							
						
					
					
						commit
						636126ef40
					
				| @ -1,3 +1,4 @@ | |||||||
| 
 | 
 | ||||||
| set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "2000") | set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "2000") | ||||||
| set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS   "2000") | set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS   "2000") | ||||||
|  | list(APPEND CTEST_CUSTOM_ERROR_EXCEPTION    @EIGEN_CTEST_ERROR_EXCEPTION@) | ||||||
|  | |||||||
| @ -19,6 +19,7 @@ include(CTest) | |||||||
| 
 | 
 | ||||||
| set(EIGEN_TEST_BUILD_FLAGS "" CACHE STRING "Options passed to the build command of unit tests") | set(EIGEN_TEST_BUILD_FLAGS "" CACHE STRING "Options passed to the build command of unit tests") | ||||||
| set(EIGEN_DASHBOARD_BUILD_TARGET "buildtests" CACHE STRING "Target to be built in dashboard mode, default is buildtests") | set(EIGEN_DASHBOARD_BUILD_TARGET "buildtests" CACHE STRING "Target to be built in dashboard mode, default is buildtests") | ||||||
|  | set(EIGEN_CTEST_ERROR_EXCEPTION "" CACHE STRING "Regular expression for build error messages to be filtered out") | ||||||
| 
 | 
 | ||||||
| # Overwrite default DartConfiguration.tcl such that ctest can build our unit tests. | # Overwrite default DartConfiguration.tcl such that ctest can build our unit tests. | ||||||
| # Recall that our unit tests are not in the "all" target, so we have to explicitly ask ctest to build our custom 'buildtests' target. | # Recall that our unit tests are not in the "all" target, so we have to explicitly ask ctest to build our custom 'buildtests' target. | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Christoph Hertzberg
						Christoph Hertzberg