mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Approval filenames are now approvedResults.txt and unapprovedResults.txt (only the former is checked in)
This commit is contained in:
		| @@ -7,9 +7,9 @@ filenameParser = re.compile( r'\s*.*/(.*\.cpp)(.*)' ) | ||||
| hexParser = re.compile( r'(.*)\b(0[xX][0-9a-fA-F]+)\b(.*)' ) | ||||
|  | ||||
| catchPath = os.path.realpath(os.path.dirname(sys.argv[0])) | ||||
| baselinesPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/results.txt' ) | ||||
| baselinesPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/approvedResults.txt' ) | ||||
| rawResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/_rawResults.tmp' ) | ||||
| filteredResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/newResults.txt' ) | ||||
| filteredResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/unapprovedResults.txt' ) | ||||
|  | ||||
| cmdPath = sys.argv[1] | ||||
|  | ||||
|   | ||||
| @@ -3,8 +3,8 @@ import sys | ||||
| import shutil | ||||
|  | ||||
| catchPath = os.path.realpath(os.path.dirname(sys.argv[0])) | ||||
| baselinesPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/results.txt' ) | ||||
| filteredResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/newResults.txt' ) | ||||
| baselinesPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/approvedResults.txt' ) | ||||
| filteredResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/unapprovedResults.txt' ) | ||||
|  | ||||
| if os.path.isfile( filteredResultsPath ): | ||||
| 	os.remove( baselinesPath ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash