From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [RFC 0/4] Use Google Test as DPDK unit test framework Date: Fri, 5 Aug 2016 10:11:56 +0100 Message-ID: References: <1470170269-20721-1-git-send-email-declan.doherty@intel.com> <5511822.hGlaykcsx3@xps13> <345C63BAECC1AD42A2EC8C63AFFC3ADC2829180F@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" To: Yerden Zhumabekov , "Doherty, Declan" , Thomas Monjalon Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id F32EC2B98 for ; Fri, 5 Aug 2016 11:11:58 +0200 (CEST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 05/08/2016 08:41, Yerden Zhumabekov wrote: [..] > We use cmocka.org for tests. Written in C. It has support for: > * mocking; > * setup/teardown; > * asserts; > * test groups. > > Output is nicely formatted. Cmocka's mocking relies on Gnu ld's --wrap feature, which has problems if the function being mocked is defined in the same compilation unit that it is used. Pity really as otherwise it looked quite good to me. ..Remy