From patchwork Fri Feb 8 22:47:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 157894 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp27991jaa; Fri, 8 Feb 2019 14:47:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IaLnJRbWnj2SJUSsPUhhLx5YZWiezC81YIYY5YJnRTVGeVeOW3fVy3/GHkfnOBE/OBBlAee X-Received: by 2002:a0c:c138:: with SMTP id f53mr18282050qvh.225.1549666070329; Fri, 08 Feb 2019 14:47:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549666070; cv=none; d=google.com; s=arc-20160816; b=iy9C6hdAlZJ0N/PINmsES/Wp3paBpsR5/LUeSYzDlq9EfRkIyuuPs+M9WBgWBDKIve pF4mScYr2uKn1JQFUj7x2LwJIk+/seyrygyRCEF1IPbzjyQt1lEFLUm8S5T4JwSf9M2g x+jJnz7IR6gQfvpR6xPytlafrUa7449LOePzikWj9Zcl8jIoB3sxtM4vANO7YayE9AOm 2/swImIehSc4PeBtMewvjbFRl/i1OPScUGhMG3fqtSWQcwO31fJJu7tAju1L54kYIrfJ ty6EPcQhuffVEpoW0FMDyHBCdrzPF5CGDIBhUL6syicjwqSk2hrzhF43RaoGLatqXusa zYSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :delivered-to; bh=MWz0NlrpWFBKvNyrdlhG5XXrDzl+CZdx6Qq2UZkXi40=; b=zwKQtdfC1SS/GjPjYX0AZ8f/jr5iJLxKUVmI/WU4wIfnmvd4ruTxONwGsI9cBmrP0o 7puCmpNMBcsr9Bh8Z3p2tUQ3vgSLnxNpwkrP841BbPIxAOCH3ZqBvoAVvhh3DwfdbStg stNBGSYWbmwc87p/UbRm+zGoHwfvnkF1Y2oqwcRC27vkssR6NmLcrCXt0+DkqwKuM9GG Rk/qlyY/otWd0UKJbKK3YgHPeJHWjZX6qMCoVfiFPRsnNg0gy5yP1Ppb0+/kNYDbs/I5 nQ9LxtiM+n+DvKXB4jGV04+UzogKQeQWceZs5N9/q7pQ26LC08QqYfXy/QyiKCKFuspC Ycog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 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 mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id z137si1113831qka.25.2019.02.08.14.47.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Feb 2019 14:47:50 -0800 (PST) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1E91D88E61; Fri, 8 Feb 2019 22:47:48 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DCC0F1001F5D; Fri, 8 Feb 2019 22:47:47 +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 994FE3F7D0; Fri, 8 Feb 2019 22:47:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x18MlKLe014261 for ; Fri, 8 Feb 2019 17:47:20 -0500 Received: by smtp.corp.redhat.com (Postfix) id BE1235B6A4; Fri, 8 Feb 2019 22:47:20 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.redhat.com (ovpn-123-115.rdu2.redhat.com [10.10.123.115]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5B30954505; Fri, 8 Feb 2019 22:47:20 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Fri, 8 Feb 2019 17:47:10 -0500 Message-Id: <4c7c376bc0f03f666f2ba2b9c437beaf088e000d.1549665763.git.crobinso@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/4] tests: Rename virmocklibxl.c -> libxlmock.c 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.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 08 Feb 2019 22:47:49 +0000 (UTC) Every other mock library is named ending in mock.c, move virmocklibxl.c to follow that pattern Signed-off-by: Cole Robinson --- tests/Makefile.am | 12 ++++++------ tests/{virmocklibxl.c => libxlmock.c} | 2 +- tests/libxlxml2domconfigtest.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) rename tests/{virmocklibxl.c => libxlmock.c} (98%) -- 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/tests/Makefile.am b/tests/Makefile.am index ceb15d9218..c9f79a4e7d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -278,7 +278,7 @@ ssh_LDADD = $(COVERAGE_LDFLAGS) if WITH_LIBXL test_programs += xlconfigtest xml2sexprtest sexpr2xmltest \ xmconfigtest libxlxml2domconfigtest -test_libraries += virmocklibxl.la +test_libraries += libxlmock.la endif WITH_LIBXL if WITH_QEMU @@ -534,11 +534,11 @@ libxlxml2domconfigtest_SOURCES = \ testutils.c testutils.h libxlxml2domconfigtest_LDADD = $(libxl_LDADDS) $(LIBXML_LIBS) -virmocklibxl_la_SOURCES = \ - virmocklibxl.c -virmocklibxl_la_CFLAGS = $(LIBXL_CFLAGS) $(LIBXML_CFLAGS) -virmocklibxl_la_LDFLAGS = $(MOCKLIBS_LDFLAGS) -virmocklibxl_la_LIBADD = $(MOCKLIBS_LIBS) +libxlmock_la_SOURCES = \ + libxlmock.c +libxlmock_la_CFLAGS = $(LIBXL_CFLAGS) $(LIBXML_CFLAGS) +libxlmock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS) +libxlmock_la_LIBADD = $(MOCKLIBS_LIBS) else ! WITH_LIBXL EXTRA_DIST += xlconfigtest.c xml2sexprtest.c sexpr2xmltest.c \ diff --git a/tests/virmocklibxl.c b/tests/libxlmock.c similarity index 98% rename from tests/virmocklibxl.c rename to tests/libxlmock.c index 7664f007ac..4476cf728f 100644 --- a/tests/virmocklibxl.c +++ b/tests/libxlmock.c @@ -1,5 +1,5 @@ /* - * virmocklibxl.c: mocking of xenstore/libxs for libxl + * libxlmock.c: mocking of xenstore/libxs for libxl * * Copyright (C) 2014 Red Hat, Inc. * diff --git a/tests/libxlxml2domconfigtest.c b/tests/libxlxml2domconfigtest.c index de6e86ec66..863d8cded5 100644 --- a/tests/libxlxml2domconfigtest.c +++ b/tests/libxlxml2domconfigtest.c @@ -223,7 +223,7 @@ mymain(void) return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; } -VIR_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/virmocklibxl.so") +VIR_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/libxlmock.so") #else