Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1508805pxb; Thu, 14 Apr 2022 07:41:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCBXVh/C/huUUzBPl3SfUp3fbPGzksFektp2JRh7bZUFS+aF7r9YFsG+xiIssnlXSKp/Ch X-Received: by 2002:a17:906:4546:b0:6e8:873a:22a8 with SMTP id s6-20020a170906454600b006e8873a22a8mr2609843ejq.711.1649947273110; Thu, 14 Apr 2022 07:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649947273; cv=none; d=google.com; s=arc-20160816; b=X3VckYsUljICn39D3GSUMemx6Zyo07Qi23GZXxki0wmmD34wAdC00vRNh2GxwJup6B KKE0c28IsB4pPnwW7jL2YSUjdWNXFxvySG928CdmEWChGFAE5P39xicom20EjxxU9rkT htCf7CozfA0w/W3ftrP2dezpxkrlcQOu7j9CitV95sUi/sLi9wcZgIQCk7qnwwFrh8JI NzsC6qD0rYdEkvP1+xIGIbmUjKZ2+MSGB1Yxyc0CoWRosxm6eysA0CD2gXGkjoTI8t3I D9xJgY7bwZLvCTguBQhs3Psfe/3b8mpuxealVKxctb2wjmReZOH2TzkvQCSeO3CBI3pI y4zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wGTC8YdoFFJEehDC62YTwnFgx/8DYsgeo2XMnZbUSUA=; b=vrPhy7BieCIAiTbi8wnYHaAm647oTh1U/6n9iXWjNq530SEAAC1Vm3B8Z52qJbg909 /5yspoAEhmvXkcp5gPnPgtadwG3cNo3Dg6tyIXNFALaLXT72i8CZFMkyoMjmL/0SvuH+ tV6lgPJ0682NalmAGyqspWvWm5hR+HPJOxaf7f+s/CY7ftPCGjrucyBZeRs+akPRw6vW mY7phDHpUWGhulNc8PxgPzOi9p+Fdkq3qmTxUzv5kPbYngR5NLBeAWuA6DsamC26tTJ3 TSQNn6SAPWHwWAsoUtSZ7g3DnnBSGAGr993I7T7R/CyrTqE5NKWJGQ8Zme7h8/VpnL8G gwHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RQxIh0yc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a05640250cd00b00418c2b5bda3si4330896edb.133.2022.04.14.07.40.37; Thu, 14 Apr 2022 07:41:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RQxIh0yc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231260AbiDNKzz (ORCPT + 99 others); Thu, 14 Apr 2022 06:55:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbiDNKzy (ORCPT ); Thu, 14 Apr 2022 06:55:54 -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 CCA33506FC for ; Thu, 14 Apr 2022 03:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649933608; 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; bh=wGTC8YdoFFJEehDC62YTwnFgx/8DYsgeo2XMnZbUSUA=; b=RQxIh0ycTqJg6ME92gKogtq/MaGnNn7VkfijR2dhxgeHKxk9h93JVR3XKdVGnbWTqn8lhJ JkhSEMBPpt48mhtJduxB6Pj4t49QaM9uQJ93rDp4FQeRaLTbWbbL2evMz0jn+sAdYdKP/2 0rzFg2QmHOFbnJwOYkFDKClsGtz9j+Y= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-211-RdiYgWRjMZG0kGpwe-6ctQ-1; Thu, 14 Apr 2022 06:53:25 -0400 X-MC-Unique: RdiYgWRjMZG0kGpwe-6ctQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4F286811E7A; Thu, 14 Apr 2022 10:53:25 +0000 (UTC) Received: from thuth.com (dhcp-192-232.str.redhat.com [10.33.192.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0987CC28114; Thu, 14 Apr 2022 10:53:23 +0000 (UTC) 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 Subject: [PATCH 0/4] KVM: s390: selftests: Provide TAP output in tests Date: Thu, 14 Apr 2022 12:53:18 +0200 Message-Id: <20220414105322.577439-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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 | 86 +++++++++++++----- tools/testing/selftests/kvm/s390x/tprot.c | 12 ++- 4 files changed, 179 insertions(+), 47 deletions(-) -- 2.27.0