rtengine/contrib/simple_vulkan_synchronization/test/README.md
Kevin Trogant 3bc192b281 dump state
this will be the basis of the framegraph rewrite, because the current
state is fucked
2024-03-25 17:55:03 +01:00

655 B

Tests

tests.c defines a number of unit tests to test that various scenarios produce the desired output. Tests are based on the common synchronization examples on the Vulkan-Docs wiki: https://github.com/KhronosGroup/Vulkan-Docs/wiki/Synchronization-Examples.

Building

On a unix based system these tests can be built using:

gcc -o tests tests.c -lvulkan

Running

Running is straightforward:

./tests

The executable will write out the tests that are run, whether they pass or fail, and what caused them to fail if they did.

Adding tests

If you'd like to add a test, just define a new test in main() as per those that already exist.