From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EA08C433DF for ; Tue, 9 Jun 2020 15:01:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1246620774 for ; Tue, 9 Jun 2020 15:01:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591714911; bh=27INdfdzEtoxcrz0/vFcWI7YJZl9wFvt+0KAD146ZK8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-ID:From; b=UnM99eM9k4I2qK35AAy2GZBxfJkb0VZlwqIVRC5rLuKtURGS6ncQUM9CTtYFZeWmb fuv3YPZ4Y9SJnTP2lCq0Sue+M0pEdfdB5ksO80IQ96PiKnipleNRVQmRI5PaxZ8TEY uM1MTsA4+anLHuO8uJUPupaaiCh0UZGuaaOplcSQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730672AbgFIPBt (ORCPT ); Tue, 9 Jun 2020 11:01:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730640AbgFIPBl (ORCPT ); Tue, 9 Jun 2020 11:01:41 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB0D9C03E97C for ; Tue, 9 Jun 2020 08:01:38 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id b18so16852364oti.1 for ; Tue, 09 Jun 2020 08:01:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=fV8ZFDB43FV3g5g5fZTxYLi7vsPxA13YSgKOxxB6Lc4=; b=ifgMqLNaEDoJ3ggtZ+CDKXlxlAhzRY618v/+r51qXTg5XTFIpLHDYpOowMjKcjIxfH TS9NlRSEADUBQ12AB25ifuTk2OIXnmtJ5PptilvJ0j8B/+B1Y69m5jA7/p0DkP1IjQ6+ yEOpkGL/mNoOp/IWAhjZxONzJuJU9Z3p8hbNg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fV8ZFDB43FV3g5g5fZTxYLi7vsPxA13YSgKOxxB6Lc4=; b=DjViu9hjT1L3j6MqqVlfFfst93R2B9KMozSH3o13RvJJrebLbzDYhZJ1G0kdp3MsOH PogZ+zI5cYoKlLxkVR04Az+ABtamlpOw4mdNmbfRMn610zKPY8uAYSVCEWdMTArvwMQN QN7eg/bQEQ1kPLm4fynZTtdJMeEbiEPX19EyBpABqjtplAQ7S3djjRv5cMDnG8oFAc8Z 7lT+54W3mdpE/6iuHuKeB5aaziXM1h+TV0ehhzz73NaKV8E47gvWFbO5pPR3PGRuCRcz U6oQtmlRbc0lBUbUUJfVAY/fBoyHdHXDIZAFudX1H/Z1+pSqgE/eyOc8ridfnsu0V9HP ln+g== X-Gm-Message-State: AOAM5337i0IeAlv4M1kMYYwvnPvbhI/FC89tpdB8biH3plqqoYl0arTK opI1PejwdAXNYb+9dUF+AZfwHB70Bco= X-Google-Smtp-Source: ABdhPJxGmnoepX29AANMk4+Z5b3vk+XlqO9YIXrRdoke3DisNE70ra7JK0DqrOFn056B0XzmgUHgGQ== X-Received: by 2002:a9d:969:: with SMTP id 96mr15323599otp.319.1591714897141; Tue, 09 Jun 2020 08:01:37 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id s124sm3209070oig.19.2020.06.09.08.01.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jun 2020 08:01:36 -0700 (PDT) Subject: Re: [PATCH 1/1] selftests: fpga: dfl: A test for afu interrupt support To: Tom Rix , Greg KH Cc: stable , linux-fpga@vger.kernel.org, shuah@kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan References: <20200609130208.27390-1-trix@redhat.com> <20200609130208.27390-2-trix@redhat.com> <20200609142007.GA831428@kroah.com> From: Shuah Khan Message-ID: <340c25e4-579b-a06b-49ae-63937dc0fbf0@linuxfoundation.org> Date: Tue, 9 Jun 2020 09:01:35 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/9/20 8:45 AM, Tom Rix wrote: > >> Why not use the ksft_* functions and frameworks to properly print out >> the test status and results so that tools can correctly parse it? >> >> It's generally bad-form to make up your own format. > > I used the the drivers/dma-buf test a basis example.  Can you point me at a better example ? > A few examples to choose from as a reference: tools/testing/selftests/breakpoints tools/testing/selftests/timens Please reach out to me if you have any questions. thanks, -- Shuah