1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 05:54:58 +00:00
serenity/Tests/LibPDF/CMakeLists.txt
Nico Weber b27aca9300 Tests/LibPDF: Add a benchmark for SampledFunction::evaluate()
Takes 235.6±2.3ms to run over here, with `--benchmark_repetitions 5`.
2024-02-13 19:45:19 +01:00

25 lines
548 B
CMake

set(TEST_SOURCES
BenchmarkPDF.cpp
TestPDF.cpp
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibPDF LIBS LibCore LibGfx LibPDF)
endforeach()
set(TEST_FILES
colorspaces.pdf
complex.pdf
encoding.pdf
encryption_nocopy.pdf
linearized.pdf
non-linearized.pdf
oss-fuzz-testcase-62065.pdf
password-is-sup.pdf
pattern.pdf
text.pdf
type1.pdf
type3.pdf
)
install(FILES ${TEST_FILES} DESTINATION home/anon/Documents/pdf)
install(FILES ${TEST_FILES} DESTINATION usr/Tests/LibPDF)