From patchwork Tue Apr 19 13:31:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maarten Lankhorst X-Patchwork-Id: 8880041 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 19996BF29F for ; Tue, 19 Apr 2016 13:31:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 554A720263 for ; Tue, 19 Apr 2016 13:31:22 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C6116201F2 for ; Tue, 19 Apr 2016 13:31:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 375A36E0B2; Tue, 19 Apr 2016 13:31:16 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A30A89FA0 for ; Tue, 19 Apr 2016 13:31:14 +0000 (UTC) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 19 Apr 2016 06:31:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,506,1455004800"; d="scan'208";a="787915515" Received: from lcostell-mobl.ger.corp.intel.com (HELO patser.lan) ([10.252.7.207]) by orsmga003.jf.intel.com with ESMTP; 19 Apr 2016 06:31:13 -0700 To: Intel Graphics Development From: Maarten Lankhorst Message-ID: <57163320.1000304@linux.intel.com> Date: Tue, 19 Apr 2016 15:31:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t] scripts/run_tests.sh: Fix breakage after piglit updates. 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-5.2 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 Right now scripts/run-tests.sh fails with the following error message: Fatal Error: Cannot overwrite existing folder without the -o/--overwrite option being set. Fix this by adding -o as required. Signed-off-by: Maarten Lankhorst Acked-by: Rodrigo Vivi Acked-by: Dylan Baker diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 99e6124f5279..f33b0ffd342a 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -125,7 +125,7 @@ if [ "x$RESUME" != "x" ]; then sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" resume "$RESULTS" $NORETRY else mkdir -p "$RESULTS" - sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" run igt "$RESULTS" -s $VERBOSE $EXCLUDE $FILTER + sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" run igt "$RESULTS" -o -s $VERBOSE $EXCLUDE $FILTER fi if [ "$SUMMARY" == "html" ]; then