From patchwork Mon Dec 9 14:30:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 181032 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4421895ile; Mon, 9 Dec 2019 06:29:10 -0800 (PST) X-Google-Smtp-Source: APXvYqz7IZxUrUz4Q5LUyYZBTyp5yu4XbGQ+edOF7dtvCWbUATKODFdUBoBMETaF4dY84kavBoom X-Received: by 2002:a37:8b44:: with SMTP id n65mr27177001qkd.446.1575901750198; Mon, 09 Dec 2019 06:29:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575901750; cv=none; d=google.com; s=arc-20160816; b=oIu3kz6HF6yrDNvab3xdF7m04C9cSCRCESHU9Cqf4YdyFXQqYIjIvXEBAsZLIeaeIs h4pmJBXiILq6Gghm8oeIsepdf2fRk+XYEBqgBMTDH+ay4GkXG6gBmcY0N2w+BX/0G6aW jGSlUN3FVCSDzeF8IMsEe8iexKWPuhsUBMhNNqP+LAKfGCjS4HQ2ZZRKmUHV/oLATSl5 JWEpilkvuFD44B+WMzjRVjloZYXUOsEKxHvl5Ly16zJUDLpNyI18p+5pzldu2YkmmfZ3 7hnUd3guFsko9lIpof8MR/VbALIqJ+sflPoMkBCMQQ6+kJxUiYognfa8Qudj7fBniF5P /P+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:errors-to:sender:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:delivered-to:dkim-signature; bh=KdPu3Vp9nPgfezo//prryMJCV6xW63s9jF+7+bEJZRM=; b=uB2uEUNCjstNUzU5tbJnpWX/0CptSFhUAkDPPCnHaQBpSeZeG8Hs7WrhlINQDrj1Sw 27YJAU9SI5wpzBsm+r2e44Htark+clVCKVQDMDcNcZKUH3VjmDnCOqsYh5RLwGByw2gf w3dppVOyIUI+lnH5ePTBr/bZx0paTXKGMXB7fWpwVJWT+RZ3rJIvLprR5Pg/PsN3C2O2 fzzneUePBLgcvz7Th3H4A9hcj55+NMI/T8gW+ZBbmwxRsBEMVzjyldqsx6cKqa9HJ8La fdbHPG5mZnofNrSBo7RBgVBvnN+jhkzIyCWv7iX5NGGbDp5EXwrnzpoQQXDqWeBydycx q9ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OlYOH1QC; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com. [205.139.110.61]) by mx.google.com with ESMTPS id o45si14320363qtk.333.2019.12.09.06.29.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Dec 2019 06:29:10 -0800 (PST) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OlYOH1QC; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575901749; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=KdPu3Vp9nPgfezo//prryMJCV6xW63s9jF+7+bEJZRM=; b=OlYOH1QCOtmOkBn6FgncEromH2do4GJ7wNASf7jMzr46REFY4axctMy1p30gD08UT3FNjS CHtX7J/enAH7FlOG2hSJkpBn1jJs8jeLf78Erow6SrQuAa9zNxm+tbQflcd+GUT5ooIc/F 3K98upjoKsKxyVxc2OUqWgp3M6xgLfE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-66-AefKNw9RMyaI7y5iS3QyMg-1; Mon, 09 Dec 2019 09:29:01 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C8AB018AAFA1; Mon, 9 Dec 2019 14:28:56 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A4EDF90BC; Mon, 9 Dec 2019 14:28:56 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 6244318089CE; Mon, 9 Dec 2019 14:28:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xB9ESsLE030251 for ; Mon, 9 Dec 2019 09:28:55 -0500 Received: by smtp.corp.redhat.com (Postfix) id ED863194BB; Mon, 9 Dec 2019 14:28:54 +0000 (UTC) Delivered-To: libvir-list@redhat.com Received: from worklaptop.redhat.com (ovpn-120-98.rdu2.redhat.com [10.10.120.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8C2DD1C94B; Mon, 9 Dec 2019 14:28:51 +0000 (UTC) From: Cole Robinson To: libvir-list@redhat.com Date: Mon, 9 Dec 2019 09:30:08 -0500 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: Cole Robinson Subject: [libvirt] [PATCH 0/2] tests: VIR_TEST_REGENERATE_OUTPUT fixes X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: AefKNw9RMyaI7y5iS3QyMg-1 X-Mimecast-Spam-Score: 0 First fix is straightforward, the test-wrap-argv.py path needs to be adjusted. Second bit fixes an issue I hit with: VIR_TEST_REGENERATE_OUTPUT=1 ./build/tests/qemuxml2argvtest Where it reported not finding a python binary. I assume this is due to some preload PATH alteration, like the comment suggests, but I didn't investigate it. The patch sidesteps the issue and seems worth doing anyways Cole Robinson (2): tests: fix REGENERATE test-wrap-argv.py usage tests: use PYTHON detected from configure configure.ac | 1 + tests/testutils.c | 14 ++------------ 2 files changed, 3 insertions(+), 12 deletions(-) -- 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list Reviewed-by: Ján Tomko