From patchwork Tue Jun 10 14:30:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 4329181 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4EABBBEEAA for ; Tue, 10 Jun 2014 14:31:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 728E2202BE for ; Tue, 10 Jun 2014 14:31:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 52BBF202AE for ; Tue, 10 Jun 2014 14:31:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6348A6E02D; Tue, 10 Jun 2014 07:31:02 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by gabe.freedesktop.org (Postfix) with ESMTP id A8B476E026 for ; Tue, 10 Jun 2014 07:31:00 -0700 (PDT) Received: by mail-wg0-f48.google.com with SMTP id n12so7328895wgh.7 for ; Tue, 10 Jun 2014 07:30:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=hzpIYZAr3ZSCRQPA/ofdzQZWJpLmdCZK9u2FGyxYPiI=; b=NuYtfodr6sQgix9+y7TmdCzs/rd6yY9jDQhbQrVeY3rhEAhvfHu7meE46TwfoIP1E7 CKCyPm7uYp5sAwpfoiIJqnDXebW+z/pq+cX7C4O+T/JZicXHf40EBNRF8NysE9fvgoo+ SHTf4s0t0j7eZpC5oIp4B+GMWxMmq1PQcu9VIHCeTCfAaNVD88pWKhofwIdbN7SLgYR7 irVraLVpI6nNuDaSi8jQMpuhydDUnajb4dpCEo2Yb5GPZe4fDALmRB1+aCMc/c5zhDeu adIZfx6lnS0acOeYwCYDgSm+ykDyV5ALNvj/jtliT8KjsVc2Zu/fAocRSUkWloENezci qEfQ== X-Gm-Message-State: ALoCoQlxoXmclNbZovMBbfjWkzyYqtKL8KOoFP/XFuWbbKm78lWrY9eRodgXAqtASVdIRcdKF8Yb X-Received: by 10.180.84.168 with SMTP id a8mr27063674wiz.36.1402410659504; Tue, 10 Jun 2014 07:30:59 -0700 (PDT) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id ci16sm379523wjb.5.2014.06.10.07.30.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jun 2014 07:30:58 -0700 (PDT) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Tue, 10 Jun 2014 15:30:51 +0100 Message-Id: <1402410657-4768-1-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [Intel-gfx] [i-g-t 1/7] README: update piglit instructions X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. - - The tests in the i-g-t sources need to have been built already. Then we - can run the testcases with (as usual as root, no other drm clients - running): + In both cases, the tests in the i-g-t sources need to have been built + already. Then we can run the testcases with (as usual as root, no other + drm clients running): - piglit-sources # ./piglit-run.py igt + piglit-sources # ./piglit run igt The testlist is built at runtime, so no need to update anything in piglit when adding new tests. See - piglit-sources $ ./piglit-run.py -h + piglit-sources $ ./piglit run -h for some useful options.