mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
28dd557d8f
Sometimes a test unit should not be executed depending on a condition. It would be good to have a macro doing this, along with TEST_CONFORM_SIMPLE(). Additionally, the skipped unit should be added to a specific namespace, so that any coverage report will be able to catch it. For this reason, here's TEST_CONFORM_SKIP() which follows the syntax: TEST_CONFORM_SKIP (condition, namespace, function); If condition evaluates to FALSE the test is skipped and the unit added to the "/skipped" namespace.