From: Thomas Wood Subject: [PATCH i-g-t 6/7] drm_lib.sh: add standard command line options Date: Thu, 16 Oct 2014 17:49:52 +0100 Message-ID: <1413478193-7970-7-git-send-email-thomas.wood@intel.com> References: <1413478193-7970-1-git-send-email-thomas.wood@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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) In-Reply-To: <1413478193-7970-1-git-send-email-thomas.wood@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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 -- 2.1.0