From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [i-g-t 1/7] README: update piglit instructions Date: Tue, 10 Jun 2014 17:28:43 +0200 Message-ID: <20140610152843.GA5821@phenom.ffwll.local> References: <1402410657-4768-1-git-send-email-thomas.wood@intel.com> <20140610143714.GT5821@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by gabe.freedesktop.org (Postfix) with ESMTP id 458506E6DF for ; Tue, 10 Jun 2014 08:28:54 -0700 (PDT) Received: by mail-wi0-f182.google.com with SMTP id r20so6322685wiv.3 for ; Tue, 10 Jun 2014 08:28:48 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Thomas Wood Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Tue, Jun 10, 2014 at 04:06:17PM +0100, Thomas Wood wrote: > On 10 June 2014 15:37, Daniel Vetter wrote: > > On Tue, Jun 10, 2014 at 03:30:51PM +0100, Thomas Wood wrote: > >> Piglit now has a top level "piglit" command and the location of the > >> tests can now be read from an environment variable. > >> > >> Signed-off-by: Thomas Wood > >> --- > >> README | 27 ++++++++++----------------- > >> 1 file changed, 10 insertions(+), 17 deletions(-) > >> > >> diff --git a/README b/README > >> index 2cfb5c5..cfa186d 100644 > >> --- a/README > >> +++ b/README > >> @@ -34,32 +34,25 @@ tests/ > >> > >> git://anongit.freedesktop.org/piglit > >> > >> - and build it (no need to install anything). Then we need to link up the > >> - i-g-t sources with piglit > >> + There is no need to build and install piglit if it is only going to be > >> + used for running i-g-t tests. > >> + > >> + Set the IGT_TEST_ROOT environment variable to point to the tests > >> + directory or link up the i-g-t sources with piglit using a symlink: > >> > >> piglit-sources $ cd bin > >> piglit-sources/bin $ ln $i-g-t-sources igt -s > >> > >> - To avoid some hassles with piglit's use of Waffle just disable it. Run > >> - > >> - piglit-sources $ cmake -D PIGLIT_USE_WAFFLE=OFF . > >> - > >> - With > >> - > >> - piglit-sources $ ccmake . > >> - > >> - you can check your configuration with a curses interface, too. > > > > Hm, why did you drop this? I run into "lack of waffle" every time I try to > > use piglit ... Otherwise looks good. > > Since there's no need to actually build the Piglit test cases when > running intel-gpu-tools tests, there's no requirement for waffle > either. Oh right ;-) Can you please mention this for dummies like me? -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch