From patchwork Wed Dec 13 12:58:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Latvala X-Patchwork-Id: 10109925 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B521560327 for ; Wed, 13 Dec 2017 12:58:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABB2928CC0 for ; Wed, 13 Dec 2017 12:58:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0A5B28F1E; Wed, 13 Dec 2017 12:58:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2B49128CC0 for ; Wed, 13 Dec 2017 12:58:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8FF636E4B8; Wed, 13 Dec 2017 12:58:43 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id DF1C76E4B8 for ; Wed, 13 Dec 2017 12:58:41 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Dec 2017 04:58:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,397,1508828400"; d="scan'208";a="158371037" Received: from thrakatuluk.fi.intel.com (HELO thrakatuluk) ([10.237.68.137]) by orsmga004.jf.intel.com with ESMTP; 13 Dec 2017 04:58:39 -0800 Received: from platvala by thrakatuluk with local (Exim 4.89) (envelope-from ) id 1eP6cQ-0004ol-T9; Wed, 13 Dec 2017 14:58:38 +0200 From: Petri Latvala To: intel-gfx@lists.freedesktop.org Date: Wed, 13 Dec 2017 14:58:16 +0200 Message-Id: <20171213125816.18371-5-petri.latvala@intel.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171213125816.18371-1-petri.latvala@intel.com> References: <20171213125816.18371-1-petri.latvala@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 4/4] run-tests.sh: Allow users to override IGT_TEST_ROOT X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 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-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Petri Latvala Cc: Arkadiusz Hiler Reviewed-by: Arkadiusz Hiler --- scripts/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index acd2ae2f..a98e06ce 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -24,7 +24,7 @@ ROOT="`dirname $0`" ROOT="`readlink -f $ROOT/..`" -IGT_TEST_ROOT="$ROOT/tests" +IGT_TEST_ROOT="${IGT_TEST_ROOT:-$ROOT/tests}" IGT_CONFIG_PATH="${IGT_CONFIG_PATH:-$HOME/.igtrc}" RESULTS="$ROOT/results" PIGLIT=`which piglit 2> /dev/null`