Tests: Move test PDF files into Tests/LibPDF

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.)
This commit is contained in:
Sam Atkins 2023-01-16 14:58:31 +00:00 committed by Linus Groh
parent 71af0c296f
commit 1910dc8976
5 changed files with 8 additions and 5 deletions

View file

@ -6,8 +6,11 @@ foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibPDF LIBS LibCore LibPDF) serenity_test("${source}" LibPDF LIBS LibCore LibPDF)
endforeach() endforeach()
install( set(TEST_FILES
FILES "../../Base/home/anon/Documents/pdf/complex.pdf" complex.pdf
"../../Base/home/anon/Documents/pdf/linearized.pdf" linearized.pdf
"../../Base/home/anon/Documents/pdf/non-linearized.pdf" non-linearized.pdf
DESTINATION usr/Tests/LibPDF) type1.pdf
)
install(FILES ${TEST_FILES} DESTINATION home/anon/Documents/pdf)
install(FILES ${TEST_FILES} DESTINATION usr/Tests/LibPDF)