mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 1910dc8976
			
		
	
	
		1910dc8976
		
	
	
	
	
		
			
			Let's put test files with the tests themselves, instead of a random user directory. (But still copy them so they appear in the user directory for convenience.)
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			358 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			358 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(TEST_SOURCES
 | |
|     TestPDF.cpp
 | |
| )
 | |
| 
 | |
| foreach(source IN LISTS TEST_SOURCES)
 | |
|     serenity_test("${source}" LibPDF LIBS LibCore LibPDF)
 | |
| endforeach()
 | |
| 
 | |
| set(TEST_FILES
 | |
|     complex.pdf
 | |
|     linearized.pdf
 | |
|     non-linearized.pdf
 | |
|     type1.pdf
 | |
| )
 | |
| install(FILES ${TEST_FILES} DESTINATION home/anon/Documents/pdf)
 | |
| install(FILES ${TEST_FILES} DESTINATION usr/Tests/LibPDF)
 |