mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 14:09:33 +01:00 
			
		
		
		
	Approval filter condenses hop filenames as well as cpp
This commit is contained in:
		@@ -3,7 +3,7 @@ import sys
 | 
				
			|||||||
import subprocess
 | 
					import subprocess
 | 
				
			||||||
import re
 | 
					import re
 | 
				
			||||||
 | 
					
 | 
				
			||||||
filenameParser = re.compile( r'\s*.*/(.*\.cpp)(.*)' )
 | 
					filenameParser = re.compile( r'\s*.*/(.*\..pp)(.*)' )
 | 
				
			||||||
hexParser = re.compile( r'(.*)\b(0[xX][0-9a-fA-F]+)\b(.*)' )
 | 
					hexParser = re.compile( r'(.*)\b(0[xX][0-9a-fA-F]+)\b(.*)' )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
catchPath = os.path.realpath(os.path.dirname(sys.argv[0]))
 | 
					catchPath = os.path.realpath(os.path.dirname(sys.argv[0]))
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2123,7 +2123,7 @@ Summary for test case 'second tag':
 | 
				
			|||||||
-- Test case: 'selftest/main' ----------------------------------
 | 
					-- Test case: 'selftest/main' ----------------------------------
 | 
				
			||||||
-- Section: 'selftest/expected result' -------------------------
 | 
					-- Section: 'selftest/expected result' -------------------------
 | 
				
			||||||
-- Section: 'selftest/expected result/failing tests' -----------
 | 
					-- Section: 'selftest/expected result/failing tests' -----------
 | 
				
			||||||
/Users/Phil/Dev/OSS/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/../../../SelfTest/catch_self_test.hpp:106:
 | 
					catch_self_test.hpp:106:
 | 
				
			||||||
[106]   succeeded
 | 
					[106]   succeeded
 | 
				
			||||||
[with message: Tests failed, as expected]
 | 
					[with message: Tests failed, as expected]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -2209,7 +2209,7 @@ All 25 assertions passed
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
-- Section: 'selftest/expected result' -------------------------
 | 
					-- Section: 'selftest/expected result' -------------------------
 | 
				
			||||||
-- Section: 'selftest/expected result/succeeding tests' --------
 | 
					-- Section: 'selftest/expected result/succeeding tests' --------
 | 
				
			||||||
/Users/Phil/Dev/OSS/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/../../../SelfTest/catch_self_test.hpp:95:
 | 
					catch_self_test.hpp:95:
 | 
				
			||||||
[95]   succeeded
 | 
					[95]   succeeded
 | 
				
			||||||
[with message: Tests passed, as expected]
 | 
					[with message: Tests passed, as expected]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user