1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 09:37:44 +00:00

Tests: Reorganize LibCompress unit tests

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).
This commit is contained in:
Marco Biscaro 2021-04-17 23:20:56 -03:00 committed by Linus Groh
parent 78733417a4
commit 8124719c3d
8 changed files with 191 additions and 117 deletions

View file

@ -6,3 +6,5 @@ set(SOURCES
serenity_lib(LibCompress compress)
target_link_libraries(LibCompress LibC LibCrypto)
add_subdirectory(Tests)