From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Vlad Subject: Re: [PATCH i-g-t] tests/drv_missed_irq_hang: Fix gem_blt path Date: Wed, 15 Jun 2016 14:56:39 +0300 Message-ID: <20160615115636.GA13805@mcvlad-wk.rb.intel.com> References: <1465824382-21843-1-git-send-email-mika.kuoppala@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0195385704==" Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTP id 96A916E8EA for ; Wed, 15 Jun 2016 11:53:11 +0000 (UTC) In-Reply-To: <1465824382-21843-1-git-send-email-mika.kuoppala@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Mika Kuoppala Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0195385704== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 13, 2016 at 04:26:22PM +0300, Mika Kuoppala wrote: > Don't add SOURCE_DIR to the path for gem_blt as if this > script is invocated on some other directory, the path to > gem_blt will be concatenated two times. >=20 > References: https://bugs.freedesktop.org/show_bug.cgi?id=3D88437 > Cc: Chris Wilson > Signed-off-by: Mika Kuoppala > --- > tests/drv_missed_irq_hang | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/drv_missed_irq_hang b/tests/drv_missed_irq_hang > index e76c7db674ac..96a653846005 100755 > --- a/tests/drv_missed_irq_hang > +++ b/tests/drv_missed_irq_hang > @@ -6,12 +6,12 @@ > SOURCE_DIR=3D"$( dirname "${BASH_SOURCE[0]}" )" > . $SOURCE_DIR/drm_lib.sh > =20 > -oldpath=3D`pwd` > +oldpath=3D$PWD > =20 > cd $i915_dfs_path > =20 > function blt_wait { > - $oldpath/$SOURCE_DIR/../benchmarks/gem_blt -r 1 -b 64 -t 1 -S > /dev/nu= ll > + ${oldpath}/../benchmarks/gem_blt -r 1 -b 64 -t 1 -S > /dev/null But $SOURCE_DIR will always be '.'. If installed, benchmarks/ will be underneath tests/ directory. Is that what you're trying to fix? Posted a fix for this when running under piglit: https://patchwork.freedesktop.org/patch/87378/ > } > =20 > function check_for_missed_irq { > --=20 > 2.7.4 >=20 > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXYUJ0AAoJELmLWIAQzyE+984H/AlVILJexonQUVOJaaXjYsJV zzGsL0cxs/LcfUB6N1v3P1lMCg0z94YesNrDKr9rDcnAfXJht7RgJY0k1jChHs+n WUdYywVsUL0PKxWMaghHIIm5ZziMo8MzL6Mzrh0S5X7zBCwfhGzowv3BFCxY7CeJ pg4u4fUN3NhnNIp4gRUH5ab4YuJyzy2v9tpK2r3iT/Qk2n6x1Bb7t4Pr3M1ktyC4 B9umQM4s4SPuNzYrcWCmBQgiVD32vrhbkmYtaGK6bOFWdeOCrPLRlcphf7qMEqjk wgQEFIxDwQctx+rZLSXfXO+eKlYAacGbEIxL3BsFlOIyrTDchDUfdlfwVnuit00= =Hv+E -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- --===============0195385704== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============0195385704==--