From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 05 Aug 2016 02:11:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,473,1464678000"; d="scan'208";a="151050359" Received: from rhorton-mobl.ger.corp.intel.com (HELO [163.33.228.104]) ([163.33.228.104]) by fmsmga004.fm.intel.com with ESMTP; 05 Aug 2016 02:11:58 -0700 To: Yerden Zhumabekov , "Doherty, Declan" , Thomas Monjalon References: <1470170269-20721-1-git-send-email-declan.doherty@intel.com> <5511822.hGlaykcsx3@xps13> <345C63BAECC1AD42A2EC8C63AFFC3ADC2829180F@irsmsx105.ger.corp.intel.com> Cc: "dev@dpdk.org" From: Remy Horton Organization: Intel Shannon Limited Message-ID: Date: Fri, 5 Aug 2016 10:11:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC 0/4] Use Google Test as DPDK unit test framework X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 09:11:59 -0000 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