mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 09:01:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			458 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			458 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import os
 | 
						|
import sys
 | 
						|
import shutil
 | 
						|
 | 
						|
from scriptCommon import catchPath
 | 
						|
 | 
						|
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 )
 | 
						|
	os.rename( filteredResultsPath, baselinesPath )
 | 
						|
else:
 | 
						|
	print "approval file " + filteredResultsPath + " does not exist"
 |