From 6a5b7d2c55ca8eca3dc5cc6355885e286ef6df7f Mon Sep 17 00:00:00 2001 From: Emilio López Date: Wed, 19 Oct 2016 09:49:49 -0300 Subject: selftest: sync: fence tests for sw_sync framework MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These tests are based on the libsync test suite from Android. This commit includes tests for basic fence creation. Signed-off-by: Emilio López Signed-off-by: Shuah Khan --- tools/testing/selftests/sync/sync_test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/testing/selftests/sync/sync_test.c') diff --git a/tools/testing/selftests/sync/sync_test.c b/tools/testing/selftests/sync/sync_test.c index e471ba9390ca..b442292bdfc9 100644 --- a/tools/testing/selftests/sync/sync_test.c +++ b/tools/testing/selftests/sync/sync_test.c @@ -62,6 +62,9 @@ int main(void) err += RUN_TEST(test_alloc_fence); err += RUN_TEST(test_alloc_fence_negative); + err += RUN_TEST(test_fence_one_timeline_wait); + err += RUN_TEST(test_fence_one_timeline_merge); + if (err) printf("[FAIL]\tsync errors: %d\n", err); else -- cgit v1.2.3-59-g8ed1b