From patchwork Tue Sep 28 12:56:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frode Nordahl X-Patchwork-Id: 1533878 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=ZqSf2Agv; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJffq5wJcz9t0p for ; Tue, 28 Sep 2021 22:57:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 88AD760BB0; Tue, 28 Sep 2021 12:57:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aOWuUIjYZJIJ; Tue, 28 Sep 2021 12:57:18 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 1057660B06; Tue, 28 Sep 2021 12:57:17 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id D521DC003F; Tue, 28 Sep 2021 12:57:09 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 55481C0023 for ; Tue, 28 Sep 2021 12:57:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 28FC360594 for ; Tue, 28 Sep 2021 12:57:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Dbvp0HmQotk for ; Tue, 28 Sep 2021 12:57:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by smtp3.osuosl.org (Postfix) with ESMTPS id 82E83607B0 for ; Tue, 28 Sep 2021 12:57:00 +0000 (UTC) Received: from frode-threadripper.. (ti0189a330-1161.bb.online.no [88.88.219.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 9CEF740DEF; Tue, 28 Sep 2021 12:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632833818; bh=EiWgYaOfjrkdkaD4XxWY8lq8IIi5XBiUHKmF6guL4mg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZqSf2Agvhcph0bKmkVLLKVFoXsfq1+gkEHv9/q8y7jxA/A1oQ06O7WRKrUXF5eZrY Epqz2B0luzEYUinA/6c+TPwQXbvZ/Chse6GPZeEy6M2iAQSCL/d95U7vPeZ0C7O2yf F4V3TSi8EIUvgqQWV8NbId/dN+bp3evCGnA2Iie4GnNAqgZc7J2GczBrevRb/WWFuF ZnIdNyexOipgbGqM/LZrr31hRDgXFbVJef5i2+cYix0DeXzX2G3qhr0Wvxdh/Z1wbe DgSibYjKdhVix0Tz0ONPxLohYs+qtugQk7kJrXtXbtQvy/CuavCpOTZa0J/Xtil7yy NsI7EFsmpyVig== From: Frode Nordahl To: dev@openvswitch.org Date: Tue, 28 Sep 2021 14:56:50 +0200 Message-Id: <20210928125653.7329-10-frode.nordahl@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210928125653.7329-1-frode.nordahl@canonical.com> References: <20210928125653.7329-1-frode.nordahl@canonical.com> MIME-Version: 1.0 Subject: [ovs-dev] [PATCH ovn v5 09/12] tests: Use built objects for unit test deps X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Currently the tests/automake.mk adds source files from the project as needed and rebuilds these for the unit test programs. Use the already built objects instead. Signed-off-by: Frode Nordahl --- tests/automake.mk | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tests/automake.mk b/tests/automake.mk index 5b890d644..c4a7c0a5b 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -243,17 +243,14 @@ tests_ovstest_SOURCES = \ tests/test-ovn.c \ controller/test-lflow-cache.c \ controller/test-ofctrl-seqno.c \ - controller/lflow-cache.c \ - controller/lflow-cache.h \ - controller/ofctrl-seqno.c \ - controller/ofctrl-seqno.h \ lib/test-ovn-features.c \ - northd/test-ipam.c \ - northd/ipam.c \ - northd/ipam.h + northd/test-ipam.c tests_ovstest_LDADD = $(OVS_LIBDIR)/daemon.lo \ - $(OVS_LIBDIR)/libopenvswitch.la lib/libovn.la + $(OVS_LIBDIR)/libopenvswitch.la lib/libovn.la \ + controller/lflow-cache.$(OBJEXT) \ + controller/ofctrl-seqno.$(OBJEXT) \ + northd/ipam.$(OBJEXT) # Python tests. CHECK_PYFILES = \