mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +00:00 
			
		
		
		
	 8124719c3d
			
		
	
	
		8124719c3d
		
	
	
	
	
		
			
			Move LibCompress unit tests to LibCompress/Tests directory and register them with CMake's add_test. This allows us to run these tests with ninja test instead of running a separate executable. Also split the existing tests in 3 test files that better follow the source code structure (inspired by AK tests).
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			167 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			167 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     Deflate.cpp
 | |
|     Zlib.cpp
 | |
|     Gzip.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibCompress compress)
 | |
| target_link_libraries(LibCompress LibC LibCrypto)
 | |
| 
 | |
| add_subdirectory(Tests)
 |