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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 946D8C433F5 for ; Tue, 31 May 2022 08:03:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244705AbiEaIDF (ORCPT ); Tue, 31 May 2022 04:03:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244604AbiEaIDE (ORCPT ); Tue, 31 May 2022 04:03:04 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AAC6291543 for ; Tue, 31 May 2022 01:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653984182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yyZQADKZC4ReRzpE60kxchJgWQOZMoqrjCrM2arpsng=; b=Es1tYI22HwwRtMhEMoJq/3ruI5VtLJq7PJRo+6LE0sxQFKXOl9NPThrzX8cxLSrCS7iufU bhASeRZgCWdAExUFqopIvVh7LMA7vyDy5YSrcwpnOsd5bgFvUINEg9ZGtHCihYTJ2WstNq CaOWax0ilrXL1O+pNHSUXciU8Tqkqxw= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-253-7z0_DAncOrazNcvGdh1QUw-1; Tue, 31 May 2022 04:03:01 -0400 X-MC-Unique: 7z0_DAncOrazNcvGdh1QUw-1 Received: by mail-wm1-f71.google.com with SMTP id bg40-20020a05600c3ca800b00394779649b1so1033745wmb.3 for ; Tue, 31 May 2022 01:03:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=yyZQADKZC4ReRzpE60kxchJgWQOZMoqrjCrM2arpsng=; b=uGuUiXIVa4h/OwxXzDUCI1B4pavbq5vJTwHSTMsljqEp4T//Jk3swPIAN5rz5YmGMX jpQ1+KvxWMUBDZLdtxf0gMDkmWpA1eDGlTVZ/zpaBHqXjWPqzLkQg+qql+7KXzcFjMhB pkYmCmy26g7jLFGadWDredlBVQLnVwWN4qMFldlToFWNL+Wtn7UwESh6ERFMh7q2WUHT f9s0hJldlSpRElCWDBk2AG46R823S5dLJub/e6KPpEej/yikVhR1o5DdbhYwRKg68ZdY 5gmtQ57qxiHOwD1DdKEs33GCX6s7en1RFuIFDULw6+6AxU+/F158vipYDXJC0KUPIJEN zoFw== X-Gm-Message-State: AOAM531amZqjd0FfXgPDdc4EKF5mGS+cQSguYC8cK0RWo8wqUezWe+u4 HWB37yqqpGVXWpg+3BQAGXFiXVehemr7B616YlqA4isEYi0OTKVsUkyZ+QWUTOTaZQlm8cn9pdV WGIyhr9nrdV9EKj6kbf4IGmmrufdW X-Received: by 2002:a7b:ca59:0:b0:397:8c63:4bd2 with SMTP id m25-20020a7bca59000000b003978c634bd2mr18044030wml.76.1653984179705; Tue, 31 May 2022 01:02:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvK+kVHptLw/I1R4X+Hc3Su3WAjoCzlHqw32wWdDS/iEXLwXclgerYkX9VR5zibNnxhwKRgg== X-Received: by 2002:a7b:ca59:0:b0:397:8c63:4bd2 with SMTP id m25-20020a7bca59000000b003978c634bd2mr18044015wml.76.1653984179461; Tue, 31 May 2022 01:02:59 -0700 (PDT) Received: from [192.168.0.2] (ip-109-43-177-214.web.vodafone.de. [109.43.177.214]) by smtp.gmail.com with ESMTPSA id j14-20020a05600c190e00b00397381a7ae8sm1525224wmq.30.2022.05.31.01.02.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 May 2022 01:02:58 -0700 (PDT) Message-ID: Date: Tue, 31 May 2022 10:02:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v3 0/4] KVM: s390: selftests: Provide TAP output in tests Content-Language: en-US From: Thomas Huth To: kvm@vger.kernel.org, Christian Borntraeger , Janosch Frank , Claudio Imbrenda Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, David Hildenbrand , Paolo Bonzini , Shuah Khan , Janis Schoetterl-Glausch , linux-s390@vger.kernel.org References: <20220429063724.480919-1-thuth@redhat.com> In-Reply-To: <20220429063724.480919-1-thuth@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On 29/04/2022 08.37, Thomas Huth wrote: > This patch series is motivated by Shuah's suggestion here: > > https://lore.kernel.org/kvm/d576d8f7-980f-3bc6-87ad-5a6ae45609b8@linuxfoundation.org/ > > Many s390x KVM selftests do not output any information about which > tests have been run, so it's hard to say whether a test binary > contains a certain sub-test or not. To improve this situation let's > add some TAP output via the kselftest.h interface to these tests, > so that it easier to understand what has been executed or not. > > v3: > - Added comments / fixed cosmetics according to Janosch's and > Janis' reviews of the v2 series > - Added Reviewed-by tags from the v2 series > > v2: > - Reworked the extension checking in the first patch > - Make sure to always print the TAP 13 header in the second patch > - Reworked the SKIP printing in the third patch > > Thomas Huth (4): > KVM: s390: selftests: Use TAP interface in the memop test > KVM: s390: selftests: Use TAP interface in the sync_regs test > KVM: s390: selftests: Use TAP interface in the tprot test > KVM: s390: selftests: Use TAP interface in the reset test > > tools/testing/selftests/kvm/s390x/memop.c | 90 +++++++++++++++---- > tools/testing/selftests/kvm/s390x/resets.c | 38 ++++++-- > .../selftests/kvm/s390x/sync_regs_test.c | 87 +++++++++++++----- > tools/testing/selftests/kvm/s390x/tprot.c | 29 ++++-- > 4 files changed, 193 insertions(+), 51 deletions(-) Ping! Thomas