From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4B65BA056D; Thu, 12 Mar 2020 16:17:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A78F1C01E; Thu, 12 Mar 2020 16:17:13 +0100 (CET) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id D88051BFC9 for ; Thu, 12 Mar 2020 16:17:09 +0100 (CET) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200312151709euoutp01cd6ee98d4f2c74f7a8efe943d05b58e4~7l3aHsZSk0474204742euoutp01D for ; Thu, 12 Mar 2020 15:17:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200312151709euoutp01cd6ee98d4f2c74f7a8efe943d05b58e4~7l3aHsZSk0474204742euoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1584026229; bh=a9JoLQ6I84KSNR2xpJDU/ZXMUkDAgTS0qD54bhtPwjY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mhHTGJJBEoFjbtI6GdFQwnYqNcP7gHzDVRBqUr7tAugRfEUsh/sovztvK8nNSyM+Y o9xC7jkdgN+UeDfR/XHcUbmsiCkrUmBCOy/h5mb3ptZOEcuevjvOs0X5+VNqzOXrH/ +exa7SL3shqT7yuPSN9tDF2FH+rYCN2lJMMpf86w= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200312151709eucas1p2d7edc51eb91589632624d8a0dd117d71~7l3aCP-0r1602216022eucas1p2r for ; Thu, 12 Mar 2020 15:17:09 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id ED.BD.60679.5725A6E5; Thu, 12 Mar 2020 15:17:09 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200312151708eucas1p18d3cde72ccadf22d43b8907ab9de6d97~7l3Z1crod0788407884eucas1p10 for ; Thu, 12 Mar 2020 15:17:08 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200312151708eusmtrp2e420f715b7a77dcd3ffe829a5d46f986~7l3Z0-9JO1238312383eusmtrp2J for ; Thu, 12 Mar 2020 15:17:08 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-28-5e6a52759977 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id B1.3F.08375.4725A6E5; Thu, 12 Mar 2020 15:17:08 +0000 (GMT) Received: from Padamandas.example.org (unknown [106.120.51.19]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200312151708eusmtip117955b0339eac3f42b301124ac3fac7f~7l3Zn_MqQ1547515475eusmtip1O for ; Thu, 12 Mar 2020 15:17:08 +0000 (GMT) From: Lukasz Wojciechowski To: dev@dpdk.org Date: Thu, 12 Mar 2020 16:16:45 +0100 Message-Id: <20200312151654.7218-5-l.wojciechow@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200312151654.7218-1-l.wojciechow@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLIsWRmVeSWpSXmKPExsWy7djPc7qlQVlxBu/fcFm8+7SdyYHR49eC pawBjFFcNimpOZllqUX6dglcGZv3n2QqOMla0THzNHMD412WLkZODgkBE4kZ586xdzFycQgJ rGCU2LqmlQ3CaWeS6J7VwAzhtDFJPHpxiAmm5dOrz4wQieWMEl9XHWSEa3l3YCszSBWbgK3E kZlfWUFsEQEBic+di9lAbG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epwQb0piZVVqUX58UWlOavEhRlOgmyYyS4km5wMDOq8k3tDU0NzC0tDc2NzYzEJJnLdD 4GCMkEB6YklqdmpqQWoRTB8TB6dUA6OPKfc/h7/VGxb4FtlKhgT3fPSV1DK6utY8WyN9fe7e LxZBVq9PHPj09fN8tyt1bhKLvNrbWju2Cmlv/dzcNemonuqDv58VF/2pXKHtvqXnX7Ccx7p/ L3Xf3HKbwdd/4pXZc2+pq90xm1Vu3W86oBu6gPFxQsIrJd+Z0TGf90vrmrH8tXixQVWJpTgj 0VCLuag4EQCGc9KAMAIAAA== X-CMS-MailID: 20200312151708eucas1p18d3cde72ccadf22d43b8907ab9de6d97 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200312151708eucas1p18d3cde72ccadf22d43b8907ab9de6d97 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200312151708eucas1p18d3cde72ccadf22d43b8907ab9de6d97 References: <20200312151654.7218-1-l.wojciechow@partner.samsung.com> Subject: [dpdk-dev] [PATCH 04/13] app/test: fix macro definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Wrap RTE_TEST_TRACE_FAILURE macro definition into #ifndef clause as it might be already defined. Signed-off-by: Lukasz Wojciechowski Change-Id: I0da5c66d5a7ae369214acfdfd3f872c2fc417d19 --- app/test/test.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test/test.h b/app/test/test.h index ac0c50616..8ac581cbc 100644 --- a/app/test/test.h +++ b/app/test/test.h @@ -22,7 +22,9 @@ # define TEST_TRACE_FAILURE(_file, _line, _func) #endif -#define RTE_TEST_TRACE_FAILURE TEST_TRACE_FAILURE +#ifndef RTE_TEST_TRACE_FAILURE +# define RTE_TEST_TRACE_FAILURE TEST_TRACE_FAILURE +#endif #include -- 2.17.1