Commit Graph

28 Commits

Author SHA1 Message Date
Józef Kucia eff8428c71 libs/vkd3d-common: Move vkd3d_array_reserve() from libvkd3d. 2017-06-19 18:05:53 +02:00
Józef Kucia 97c7bc0a18 libs/vkd3d-common: Provide access to current debug level. 2017-06-19 18:05:53 +02:00
Józef Kucia 7be0b64a0f libs/vkd3d-common: Add debugstr_a() function. 2017-06-16 22:38:21 +02:00
Józef Kucia 995720f5f5 include: Add align() helper function. 2017-06-16 22:38:21 +02:00
Józef Kucia ba713c9b37 include: Drop wine prefix from red-black tree functions. 2017-06-16 22:38:21 +02:00
Józef Kucia 69e278e754 include: Import red-black tree implementation from Wine. 2017-06-16 22:38:21 +02:00
Józef Kucia 956c8b03cf include: Import linked list implementation from Wine. 2017-06-16 22:38:21 +02:00
Józef Kucia 84889646f6 Update license to LGPL v2.1. 2017-06-16 22:11:21 +02:00
Józef Kucia 2d0c3c871a tests: Introduce debug levels.
The VKD3D_TEST_DEBUG environment variable can be now set to 1 or 2.
VKD3D_TEST_DEBUG=1 is useful for examining Vulkan validation layers
output.
2016-11-09 15:03:46 +01:00
Józef Kucia 3c66c74167 tests: Pass command line arguments to vkd3d_test_main(). 2016-11-09 15:03:46 +01:00
Józef Kucia 2eed0e0ed3 tests: Write test name to debug output.
This is useful when inspecting the output of D3D12 debug layer.
2016-11-09 15:03:46 +01:00
Józef Kucia 81164d43f7 tests: Use stdbool. 2016-10-24 13:20:09 +02:00
Józef Kucia ed50a4e7f5 include: Assert that "count * size" does not overflow in vkd3d_calloc(). 2016-10-24 13:20:09 +02:00
Józef Kucia b4d22aa4e4 include: Fix indentation in vkd3d_test header file. 2016-10-17 14:24:22 +02:00
Józef Kucia 85d498c94b include: Get rid of useless function prototypes in vkd3d_test header file. 2016-10-17 14:24:22 +02:00
Józef Kucia e84ca0af5d tests: Use InterlockedIncrement() for test counters.
This should be useful for multithreaded tests.
2016-10-10 11:22:50 +02:00
Józef Kucia ed033b40d0 libs/vkd3d: Fix InterlockedIncrement() and InterlockedDecrement() signatures. 2016-10-10 11:22:50 +02:00
Józef Kucia 5f3d5a1263 tests: Include vkd3d_common.h in vkd3d_test.h. 2016-10-10 11:22:50 +02:00
Józef Kucia eb05a388e1 include: Avoid using variable names starting with "__".
Names that begin with "__" are reserved.
2016-10-10 11:22:50 +02:00
Józef Kucia 59d466af2d libs/vkd3d: Use PRIx64 to print 64-bit integers. 2016-10-10 11:22:50 +02:00
Józef Kucia 6330c9f46a tests: Properly print 64-bit unsigned integers.
Use PRIu64 since we use C99.
2016-10-10 11:22:50 +02:00
Józef Kucia 0c1432e671 libs/vkd3d: Move D3D12CreateDevice() to libvkd3d-utils. 2016-10-07 13:26:39 +02:00
Józef Kucia 49cac8005c libs/vkd3d-common: Add convenience library for shared code. 2016-10-07 13:26:39 +02:00
Henri Verbeet cd37442fd0 tests: ...but keep regular builds working. 2016-09-30 10:00:11 +02:00
Henri Verbeet dc7504c7fc build: Unicode crossbuilds. 2016-09-30 09:41:12 +02:00
Józef Kucia bce85d84ed include: Make test output less verbose. 2016-09-28 09:42:49 +02:00
Józef Kucia 3a5deb7286 include: Add support for marking tests as todo. 2016-09-28 09:42:49 +02:00
Józef Kucia 978584a238 tests: Add test for D3D12CreateDevice(). 2016-09-21 12:57:24 +02:00