From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from giant.haxx.se (giant.haxx.se [80.67.6.50]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7D27EE0070B for ; Thu, 21 Jun 2012 01:50:58 -0700 (PDT) Received: from giant.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.14.4/8.14.4/Debian-2) with ESMTP id q5L8oqWu024663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 21 Jun 2012 10:50:52 +0200 Received: (from bjst@localhost) by giant.haxx.se (8.14.4/8.14.4/Submit) id q5L8oqtF024660; Thu, 21 Jun 2012 10:50:52 +0200 Date: Thu, 21 Jun 2012 10:50:52 +0200 From: =?iso-8859-1?Q?Bj=F6rn?= Stenberg To: "Burton, Ross" Message-ID: <20120621085052.GC7204@giant> References: <20120614132601.GB29124@giant> <1340019794.8481.10.camel@ted> <20120618150433.GC1646@giant> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: yocto@yoctoproject.org Subject: Re: Discussion: Package testing X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2012 08:50:58 -0000 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Burton, Ross wrote: > The problem with that is that you can only test the external > interfaces, not the inner state (black box vs white box). i.e. DBus > has test cases for each C file inside that C file, so it can exercise > both the external API and internal state. I haven't examined dbus in detail yet, but in principle I don't think it should be a problem. As long as the test binaries are compiled on the build host, in the normal work dir, we don't need to know or care what source code they are built from. -- Björn