Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1195357ybh; Sat, 14 Mar 2020 20:40:39 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvlZ9ywKRHL4sJJV4l5hibLvafudDb+hzLDAM/d94Azqf2Eh+H9KewzrQt907g9ALaxLT2R X-Received: by 2002:a9d:2208:: with SMTP id o8mr17295030ota.208.1584243639784; Sat, 14 Mar 2020 20:40:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584243639; cv=none; d=google.com; s=arc-20160816; b=PhDvv8mtfcZjy7JWRTmqpGAxA9Lwbnm57acfEaGZLdLP5SuwMYZfg8Pk6jFaVpEexF acuAbCMs+yv3p+Bw6ETn7KHq/7rqwZYk+nqamWoa7p+konOZyFb62LPTWdyXpcU7P6Fb 7BJBfSeOuOv3BPqc0KDbdkp5jsF6PmonGJm02jn1avcPJAVtGm8WFyCoUZSzCAvnguDB GLxgXmF1jv5ux5bDTl2T7a5n9eMFoWuJkrYM72YgpLnjs5Zq6GqUjBK9djxU1z0ZOD0U XfVgjlDal7riW067e7ZWsT0diyiL5Xb+1R/cAR05MaBtUwCpoTKUrGSRZa+AZjnt0XpX XaOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=7mUmgqOIFOdKgmbkoQ0zespckuiZdF8ycwVxiswURFM=; b=i7+xbS0MfwoTL4Cnf6R/Ct3lbpU1F/r31nXlwxVRT4aMYxHDJmoJEQx3kFGpFKlhyV U867PvCqhc5Evt+eej/VT0tQGW1UZXGihNuqLcsf5dqm406y0zjA/LLCGD5ed2iBcikw LGzjH+sDBTF/gvizkimaKCcb+dHcGvgh7FtYTIUk4v6ohZwfPIKNez21NeD3fqPj6Epu TEidHIuBtEF+Z37nN3lhtWSmq5K1JypF+QGSc/icLO1ICRTWNLCME0otnd8H18iYCHyY Zc6LSANsR996AM6hxD1hY0LZUFlGuZ5+cMVXlXUmewi8tR5lwBSlSznIm5sP2vmCnhE4 dnHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cuhKXD2J; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si5289854oie.164.2020.03.14.20.40.27; Sat, 14 Mar 2020 20:40:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cuhKXD2J; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727398AbgCODkM (ORCPT + 99 others); Sat, 14 Mar 2020 23:40:12 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:24398 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726668AbgCODkL (ORCPT ); Sat, 14 Mar 2020 23:40:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584243610; 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=7mUmgqOIFOdKgmbkoQ0zespckuiZdF8ycwVxiswURFM=; b=cuhKXD2JoWMcCLwfw5DqmA6ZZvk1QBAp0wZrhs4q2gkrPjV/ObUMLEjeWEiY+LaHsQ0v84 RlgxXKYrIS8Rp0nkg+BcsCO+2YLdRhwJJEQJvyQ69gclcHE1Rgftfk4jnvNIr2xB4se6kN jXSfQBliixw0AcywWJmRCYXAkUqqCaY= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-156-Pw3YuW3APQWkuirTtbakpw-1; Sat, 14 Mar 2020 07:37:44 -0400 X-MC-Unique: Pw3YuW3APQWkuirTtbakpw-1 Received: by mail-wr1-f69.google.com with SMTP id u12so3382473wrw.10 for ; Sat, 14 Mar 2020 04:37:44 -0700 (PDT) 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=7mUmgqOIFOdKgmbkoQ0zespckuiZdF8ycwVxiswURFM=; b=UNWq+U1vxabWfBv98hiapV9uQIIBj6lNk/PkTpWmnZhRxBpAhCgWcALKaiapKy+i6f Ycimovx++pP1XuNdqfdWLVaPGe1shCiJeym+C/o5vnUPbiUisUs26bjVn7xUqoJ6r8cM LXg4rqkJBVKPRfX4opqNC3Re3bnwJBwwqmuBVgeFQLkTPoIPcpz29cppJKQWHLSWv3rr qB+zY6elsL3SqQzy8ndxhzQkr/w8ZVpagUp0YCfmNTW/0QxvO4n/OGpUpnF0y5hSqNNL SNpjBXDUAwYa4erFrrgfgMBUuC+E7lGiLZXAou1APIRERZYD3vH40Rrvyhm8BEupZYv5 T03A== X-Gm-Message-State: ANhLgQ2dr1e7fjkU6G3Ww8EEFaQ+bZZcfCUuCfqs9gGsKyvTqn1qLuZ9 O+ZbADSYgKCzo/SsPJb1UM/NHhRmjVOtaAXXIafPfcC105vjNxsSYWVXRodpSL21/eI9t8HqGQQ jZOsiAk6PA2i9dR79Ifu/z32M X-Received: by 2002:a5d:6a0e:: with SMTP id m14mr24146631wru.202.1584185863205; Sat, 14 Mar 2020 04:37:43 -0700 (PDT) X-Received: by 2002:a5d:6a0e:: with SMTP id m14mr24146612wru.202.1584185862992; Sat, 14 Mar 2020 04:37:42 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:7de8:5d90:2370:d1ac? ([2001:b07:6468:f312:7de8:5d90:2370:d1ac]) by smtp.gmail.com with ESMTPSA id f17sm76798128wrj.28.2020.03.14.04.37.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 Mar 2020 04:37:42 -0700 (PDT) Subject: Re: [PATCH v2 0/2] kvm: selftests: Introduce TEST_FAIL and convert To: Wainer dos Santos Moschetta , kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, sean.j.christopherson@intel.com, shuah@kernel.org, tglx@linutronix.de, thuth@redhat.com References: <20200310025059.9301-1-wainersm@redhat.com> From: Paolo Bonzini Message-ID: <61b30d46-316c-5ef6-179f-fc394d352766@redhat.com> Date: Sat, 14 Mar 2020 12:37:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200310025059.9301-1-wainersm@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/03/20 03:50, Wainer dos Santos Moschetta wrote: > Introduce the TEST_FAIL macro and change the tests/utilities > to use it. > > v1 -> v2: > - Completed the conversion to TEST_FAIL. > > v1: > - [RFC PATCH 0/1] kvm: selftests: Add TEST_FAIL macro > https://lore.kernel.org/kvm/20200305172532.9360-1-wainersm@redhat.com/ > > Wainer dos Santos Moschetta (2): > selftests: kvm: Introduce the TEST_FAIL macro > selftests: kvm: Uses TEST_FAIL in tests/utilities > > tools/testing/selftests/kvm/dirty_log_test.c | 7 +++---- > .../testing/selftests/kvm/include/test_util.h | 3 +++ > .../selftests/kvm/lib/aarch64/processor.c | 17 +++++++-------- > .../testing/selftests/kvm/lib/aarch64/ucall.c | 2 +- > tools/testing/selftests/kvm/lib/io.c | 12 +++++------ > tools/testing/selftests/kvm/lib/kvm_util.c | 21 ++++++++----------- > .../selftests/kvm/lib/x86_64/processor.c | 5 ++--- > .../kvm/x86_64/cr4_cpuid_sync_test.c | 4 ++-- > .../testing/selftests/kvm/x86_64/evmcs_test.c | 6 +++--- > .../testing/selftests/kvm/x86_64/state_test.c | 6 +++--- > .../selftests/kvm/x86_64/svm_vmcall_test.c | 6 ++---- > .../kvm/x86_64/vmx_close_while_nested_test.c | 4 ++-- > .../selftests/kvm/x86_64/vmx_dirty_log_test.c | 6 +++--- > .../kvm/x86_64/vmx_tsc_adjust_test.c | 4 ++-- > 14 files changed, 49 insertions(+), 54 deletions(-) > Queued, thanks. Paolo