devilutionX/test
Gleb Mazovetskiy 076b0c0c05 Overhaul tests
1. Adds a `libdevilution_so` target when tests are enabled.
2. Each test file is now a separate binary target linked against `libdevilutionx_so` (can now run tests in parallel).
3. Tests are now defined in a separate `test/CMakeLists.txt` file.
4. Building the tests is now controlled by the standard `BUILD_TESTING` option (defined by CTest).
5. Tests are now built by default.
6. On CI, test errors are now reported.

Also:

* `.clang-format`: Enable SortIncludes in tests
* `path_test.cpp`: Fix -Wsign-compare
2021-12-16 20:26:51 +00:00
..
.clang-format Overhaul tests 2021-12-16 20:26:51 +00:00
animationinfo_test.cpp Overhaul tests 2021-12-16 20:26:51 +00:00
appfat_test.cpp Allow forcing Hellfire with command-line flags 2021-10-25 13:52:14 +01:00
automap_test.cpp
CMakeLists.txt Overhaul tests 2021-12-16 20:26:51 +00:00
codec_test.cpp
control_test.cpp
cursor_test.cpp ♻️ Replace 'icursW' and 'icursH' globals with single 'icursSize' 2021-08-30 06:45:51 +02:00
dead_test.cpp Use scoped enum for Direction 2021-09-12 02:27:47 +02:00
diablo_test.cpp
drlg_l1_test.cpp
effects_test.cpp
file_util_test.cpp Overhaul tests 2021-12-16 20:26:51 +00:00
inv_test.cpp ♻️ Convert 'ItemType' enum to enum class 2021-09-13 00:25:49 +02:00
lighting_test.cpp Overhaul tests 2021-12-16 20:26:51 +00:00
main.cpp Overhaul tests 2021-12-16 20:26:51 +00:00
missiles_test.cpp Use scoped enum for Direction16. 2021-09-12 02:27:47 +02:00
pack_test.cpp Overhaul tests 2021-12-16 20:26:51 +00:00
path_test.cpp Overhaul tests 2021-12-16 20:26:51 +00:00
player_test.cpp Use scoped enum for Direction 2021-09-12 02:27:47 +02:00
player_test.h Overhaul tests 2021-12-16 20:26:51 +00:00
quests_test.cpp Overhaul tests 2021-12-16 20:26:51 +00:00
random_test.cpp Apply clang-format 2021-08-11 20:52:32 +02:00
scrollrt_test.cpp
stores_test.cpp 🚚 Rename 'ItemStruct' to 'Item' 2021-08-30 13:40:08 +02:00
writehero_test.cpp Overhaul tests 2021-12-16 20:26:51 +00:00