From: Marius Vlad Subject: Re: [PATCH i-g-t] scripts/run_tests.sh: Fix breakage after piglit updates. Date: Tue, 19 Apr 2016 17:13:11 +0300 Message-ID: <20160419141311.GA10491@mcvlad-wk.rb.intel.com> References: <57163320.1000304@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0706982405==" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTP id 38EB26E7AB for ; Tue, 19 Apr 2016 14:12:42 +0000 (UTC) In-Reply-To: <57163320.1000304@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Maarten Lankhorst Cc: Intel Graphics Development , baker.dylan.c@gmail.com, rodrigo.vivi@intel.com List-Id: intel-gfx@lists.freedesktop.org --===============0706982405== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable There was some discussions about this before: https://lists.freedesktop.org/archives/intel-gfx/2016-March/089128.html and https://lists.freedesktop.org/archives/intel-gfx/2016-March/090302.html There's some concern that his approach might brake with older versions of piglit. Is this still the case, or we can push this? On Tue, Apr 19, 2016 at 03:31:12PM +0200, Maarten Lankhorst wrote: > Right now scripts/run-tests.sh fails with the following error message: >=20 > Fatal Error: Cannot overwrite existing folder without the -o/--overwrite = option being set. >=20 > Fix this by adding -o as required. >=20 > Signed-off-by: Maarten Lankhorst > --- > 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" !=3D "x" ]; then > sudo IGT_TEST_ROOT=3D"$IGT_TEST_ROOT" "$PIGLIT" resume "$RESULTS" $NORE= TRY > else > mkdir -p "$RESULTS" > - sudo IGT_TEST_ROOT=3D"$IGT_TEST_ROOT" "$PIGLIT" run igt "$RESULTS" -s $= VERBOSE $EXCLUDE $FILTER > + sudo IGT_TEST_ROOT=3D"$IGT_TEST_ROOT" "$PIGLIT" run igt "$RESULTS" -o -= s $VERBOSE $EXCLUDE $FILTER > fi > =20 > if [ "$SUMMARY" =3D=3D "html" ]; then > =20 >=20 > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXFjz3AAoJELmLWIAQzyE+FQAH/2C+d/juXot6Ok+I18yGi5UD Uva/Bk8etm7oI2xJJTlJx4tSn0tcAv1sUjY8li67j4qXYPfcaZHKS6aITzavBy+w ZgVP8y1ZmGLfCrM2Tb3aGrRDmtf+JtFNftPr25pf8eE4wPq+1hMzgUO7e8gEUDEC 9b8wrkpJ/vp3PonivJBKC+jP3meheo/vLSd+Pga0dFYGo8bH/CM+jpFvEOhFeiho 6tegZFx4xGNlFIedBg8m7qQx1WeX7LNyrKuTekjCSVZU4ceoE+Q0+nKfuaz7t1Bi LGFv3efehqV7nMAdR2yCpV+60dmI/h+7TWNIG/kyqoqSA+ZzCY+f6SR034qkHN8= =TU2G -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm-- --===============0706982405== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============0706982405==--