From patchwork Thu Jun 14 09:57:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 10463737 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E4BE2601F9 for ; Thu, 14 Jun 2018 09:57:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D53F72893A for ; Thu, 14 Jun 2018 09:57:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9A3528950; Thu, 14 Jun 2018 09:57:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69F2A2893A for ; Thu, 14 Jun 2018 09:57:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754688AbeFNJ50 (ORCPT ); Thu, 14 Jun 2018 05:57:26 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:36101 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754633AbeFNJ5Z (ORCPT ); Thu, 14 Jun 2018 05:57:25 -0400 Received: by mail-lf0-f67.google.com with SMTP id u4-v6so8475219lff.3 for ; Thu, 14 Jun 2018 02:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=yAsqvOE4YE4eGK8LdxFdK1v7y2AA9dYScZLkNbVtZSA=; b=Sc6CRvCM9XhIBM5E/9m9KzqmB8UTIqaJ/YKhc1BM6/5FhaS0lvry47+8IOpxbMf6vB PuvrXahlsyPDDbL0/M9n6VzxzzRbHd8txOxXh7AZDqlb8j7+KfKxTsHGm3oEJMnCn/sv VnHXt4cPCT1mLRa2oEp4QJsvRke0oCd2SHeBw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yAsqvOE4YE4eGK8LdxFdK1v7y2AA9dYScZLkNbVtZSA=; b=VETvCrtshzRNBbLaLmRNWSEBHGvxhFCzq9OP/i2CJlJkXNUkfEkcwZqt9d0Z1hUhgY 1CCaJbNIajzMOYvnt0mk3AeimPi/254cLyY/XvHvTyuvNloIPWcT9lXZeGaiAWyK8Pl+ 1XM3BbZzNwa5qm96FVLZF49zG35hBJ4GoEOhyH7491K16sO1Gz65Uf7iM+v6Dl6D/Wj6 DWJyCtElNUtjuh3ZUDmtJIP4IVR4IFOq1JMtP54F8w+n7MzWzsUHFVsnJBC8vLQj5XJX M4FhRmFCmL7Tikv8t6kRc2YOGnRZ3+cvxze+MUURvky/z8eWZhMIIRkEkt0Y5eTewJc7 Oj7Q== X-Gm-Message-State: APt69E20pRqjYNZgWb/wwJ7fsafuIMBSYvQ6GHeSRsFOJ48wjL7go85c I41u6i9iBfs2WWTYhAvpuTbJuw== X-Google-Smtp-Source: ADUXVKL65mbBi3rXsES3lcTZfFpL8M1H2lJaS5UT/yKDDKcFbjKgE24cv6Ilv1onWG69f1PbAsWueQ== X-Received: by 2002:a19:1460:: with SMTP id k93-v6mr5820380lfi.23.1528970243860; Thu, 14 Jun 2018 02:57:23 -0700 (PDT) Received: from localhost (c-4c3770d5.07-21-73746f28.bbcust.telenor.se. [213.112.55.76]) by smtp.gmail.com with ESMTPSA id c20-v6sm884892lji.82.2018.06.14.02.57.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Jun 2018 02:57:22 -0700 (PDT) From: Anders Roxell To: shuah@kernel.org Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Fathi Boudra , Anders Roxell Subject: [PATCH v2] selftests: sync: add config fragment for testing sync framework Date: Thu, 14 Jun 2018 11:57:08 +0200 Message-Id: <20180614095708.27645-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fathi Boudra Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled, the sync test will be skipped: TAP version 13 1..0 # Skipped: Sync framework not supported by kernel Add a config fragment file to be able to run "make kselftest-merge" to enable relevant configuration required in order to run the sync test. Signed-off-by: Fathi Boudra Link: https://lkml.org/lkml/2017/5/5/14 Signed-off-by: Anders Roxell --- tools/testing/selftests/sync/config | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tools/testing/selftests/sync/config diff --git a/tools/testing/selftests/sync/config b/tools/testing/selftests/sync/config new file mode 100644 index 000000000000..1ab7e8130db2 --- /dev/null +++ b/tools/testing/selftests/sync/config @@ -0,0 +1,4 @@ +CONFIG_STAGING=y +CONFIG_ANDROID=y +CONFIG_SYNC=y +CONFIG_SW_SYNC=y