1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-08 22:30:46 +00:00

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)
endforeach()
install(
FILES "../../Base/home/anon/Documents/pdf/complex.pdf"
"../../Base/home/anon/Documents/pdf/linearized.pdf"
"../../Base/home/anon/Documents/pdf/non-linearized.pdf"
DESTINATION usr/Tests/LibPDF)
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)