Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933268AbcCIPcI (ORCPT ); Wed, 9 Mar 2016 10:32:08 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:59439 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932847AbcCIPbw (ORCPT ); Wed, 9 Mar 2016 10:31:52 -0500 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: Shuah Khan Cc: devel@driverdev.osuosl.org, Gustavo Padovan , Riley Andrews , Daniel Vetter , John Harrison , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Greg Hackmann , Rob Clark , linux-kselftest@vger.kernel.org, Maarten Lankhorst , Daniel Stone , =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= , =?UTF-8?q?Emilio=20L=C3=B3pez?= Subject: [RFC PATCH v1 9/9] selftest: sync: disable tests that rely on not yet defined behaviour Date: Wed, 9 Mar 2016 12:29:02 -0300 Message-Id: <1457537342-678-10-git-send-email-emilio.lopez@collabora.co.uk> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1457537342-678-1-git-send-email-emilio.lopez@collabora.co.uk> References: <1457537342-678-1-git-send-email-emilio.lopez@collabora.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1279 Lines: 32 One of the tests rely on a behaviour only observed on the driver currently in use in Android. Disable it here until the behaviour is implemented or it is decided it should not be implemented on the driver in mainline. Signed-off-by: Emilio López --- tools/testing/selftests/sync/sync_test.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/testing/selftests/sync/sync_test.c b/tools/testing/selftests/sync/sync_test.c index c3e4c01..3f484318 100644 --- a/tools/testing/selftests/sync/sync_test.c +++ b/tools/testing/selftests/sync/sync_test.c @@ -66,7 +66,14 @@ int main(void) err += RUN_TEST(test_fence_one_timeline_merge); err += RUN_TEST(test_fence_merge_same_fence); err += RUN_TEST(test_fence_multi_timeline_wait); +#if 0 + /* The following test has been disabled due to differences + * between the upstream and Android kernel drivers. The behaviour + * that should occur when destroying a timeline with active fences + * has not been defined yet. + */ err += RUN_TEST(test_fence_wait_on_destroyed_timeline); +#endif err += RUN_TEST(test_stress_two_threads_shared_timeline); err += RUN_TEST(test_consumer_stress_multi_producer_single_consumer); err += RUN_TEST(test_merge_stress_random_merge); -- 2.5.0