mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:02:43 +00:00 
			
		
		
		
	 832e9c6e02
			
		
	
	
		832e9c6e02
		
	
	
	
	
		
			
			For each .cpp file in the test suite data, there is a .ast file that represents the "known good" baseline of the parser result. Each .cpp file goes through the parser, and the result of invoking `ASTNode::dump()` on the root node is compared to the baseline to find regressions. We also check that there were no parser errors when parsing the .cpp files.
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			145 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			145 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| file(GLOB CMD_SOURCES  CONFIGURE_DEPENDS "*.cpp")
 | |
| 
 | |
| foreach(CMD_SRC ${CMD_SOURCES})
 | |
|     serenity_test(${CMD_SRC} LibCpp LIBS LibCpp)
 | |
| endforeach()
 |