From patchwork Thu Oct 16 16:49:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 5092671 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 73A239F30B for ; Thu, 16 Oct 2014 16:50:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BEA91201F4 for ; Thu, 16 Oct 2014 16:50:07 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id F41B9201EF for ; Thu, 16 Oct 2014 16:50:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B7816E2B9; Thu, 16 Oct 2014 09:50:06 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by gabe.freedesktop.org (Postfix) with ESMTP id DEB016E2B9 for ; Thu, 16 Oct 2014 09:50:05 -0700 (PDT) Received: by mail-wi0-f180.google.com with SMTP id em10so5291876wid.13 for ; Thu, 16 Oct 2014 09:50:05 -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:in-reply-to :references; bh=EtDruPE8tDs7T2hLX1Axhun1jXnr7aEw3jh8UQ6RAhk=; b=ZTdlddbXe/X2sP2pXqhxHrkQYi5VfoXPMwNBOZjmWQFcW54R+ENcbcRq7qkvPzl3zM TlWmYUw1MZRzWV6nfxElKLgsVNYpGe6K4D0OHcjEYdEmKHYcSiNUYBCdVgRy9YiuTNj7 bZ/UIAQr4cVK4sLeFJTXPj7IhkgMgcqOdVSllDXEU6QPoLUTqVpXNeOfWN5wPQ+HUZWQ 8Ghq4/CkJNmGGOgETEJ7pVnL7e8myKLnVPeyegJyq60eEyhui6fCd8QWt2ir/N3uSHFI YwU3Lq7mcCytJUAQEfxcRxtUl9UgZXvBbV2Mw6a7SmNVuJZZSwsVngKSohnfekq7enpe 1K2A== X-Gm-Message-State: ALoCoQnIJFQxEZG+N1WERxbRfxNgpuZxSOHm01H87t0f8F9WH6uSEZO3B/5GbN1ZELBTHUFtBwN9 X-Received: by 10.194.48.84 with SMTP id j20mr3442701wjn.35.1413478205177; Thu, 16 Oct 2014 09:50:05 -0700 (PDT) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id ic4sm2595840wid.19.2014.10.16.09.50.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Oct 2014 09:50:04 -0700 (PDT) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Thu, 16 Oct 2014 17:49:52 +0100 Message-Id: <1413478193-7970-7-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1413478193-7970-1-git-send-email-thomas.wood@intel.com> References: <1413478193-7970-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 6/7] drm_lib.sh: add standard command line options 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 Signed-off-by: Thomas Wood --- tests/drm_lib.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh index d71e6ae..6a8a310 100755 --- a/tests/drm_lib.sh +++ b/tests/drm_lib.sh @@ -9,6 +9,17 @@ for arg in $@ ; do --run-subtest) exit 79 ;; + --debug) + IGT_LOG_LEVEL=debug + ;; + --help) + echo "Usage: `basename $0` [OPTIONS]" + echo " --list-subtests" + echo " --run-subtest " + echo " --debug" + echo " --help" + exit 0 + ;; esac done