Less sensitive error detection in build logs (#8278)
* Less sensitive error detection in build logs * Fix test_log_parser unit test
This commit is contained in:
		 Adam J. Stewart
					Adam J. Stewart
				
			
				
					committed by
					
						 Todd Gamblin
						Todd Gamblin
					
				
			
			
				
	
			
			
			 Todd Gamblin
						Todd Gamblin
					
				
			
						parent
						
							d6458a6ba7
						
					
				
				
					commit
					f42afc6168
				
			
							
								
								
									
										7
									
								
								lib/spack/external/ctest_log_parser.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								lib/spack/external/ctest_log_parser.py
									
									
									
									
										vendored
									
									
								
							| @@ -116,18 +116,15 @@ def match(self, text): | ||||
|             'Error:', 'error', 'undefined reference', 'multiply defined')), | ||||
|         "([^:]+): error[ \\t]*[0-9]+[ \\t]*:", | ||||
|         "([^:]+): (Error:|error|undefined reference|multiply defined)", | ||||
|         "([^ :]+) : (error|fatal error|catastrophic error)", | ||||
|         "([^ :]+) ?: (error|fatal error|catastrophic error)", | ||||
|         "([^:]+)\\(([^\\)]+)\\) ?: (error|fatal error|catastrophic error)"), | ||||
|     prefilter( | ||||
|         lambda s: s.count(':') >= 2, | ||||
|         "[^ :]+:[0-9]+: [^ \\t]"), | ||||
|     "^[Bb]us [Ee]rror", | ||||
|     "^[Ss]egmentation [Vv]iolation", | ||||
|     "^[Ss]egmentation [Ff]ault", | ||||
|     ":.*[Pp]ermission [Dd]enied", | ||||
|     "^Error ([0-9]+):", | ||||
|     "^Fatal", | ||||
|     "^Error: ", | ||||
|     "^[Ee]rror: ", | ||||
|     "^Error ", | ||||
|     "[0-9] ERROR: ", | ||||
|     "^\"[^\"]+\", line [0-9]+: [^Ww]", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user