1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +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

@ -15,7 +15,7 @@ run(index) {
}
# TODO: test-web requires the window server
system_tests=((test-js --show-progress=false) test-pthread test-compress /usr/Tests/LibM/test-math (test-crypto -t bigint))
system_tests=((test-js --show-progress=false) test-pthread /usr/Tests/LibM/test-math (test-crypto -t bigint))
# FIXME: Running too much at once is likely to run into #5541. Remove commented out find below when stable
all_tests=${concat_lists $system_tests} #$(find /usr/Tests -type f | grep -v Kernel | grep -v .inc | shuf))
count_of_all_tests=${length $all_tests}