summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2016-12-07 15:07:51 -0500
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2016-12-14 09:24:11 +0100
commita9c7f552e8717609e9bf26b781a54172837a2148 (patch)
treeb069b1e0c6d929c721a6a55428a249dd3694810f /tests
parent2c16b0b5c88367fe398d4a973f1c8255ddc36b56 (diff)
tests/sw_sync: Add igt_require check for sw_sync feature
Make sure that this test is skipped if the sw_sync feature is missing from the host system. Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/sw_sync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sw_sync.c b/tests/sw_sync.c
index 3c47fd2d..ac17e447 100644
--- a/tests/sw_sync.c
+++ b/tests/sw_sync.c
@@ -722,6 +722,9 @@ static void test_sync_random_merge(void)
igt_main
{
+ igt_fixture
+ igt_require_sw_sync();
+
igt_subtest("alloc_timeline")
test_alloc_timeline();