From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH v2 libdrm 3/7] tegra: Add simple test for drm_tegra_open() Date: Fri, 2 May 2014 16:17:39 +0200 Message-ID: <20140502141738.GC21515@ulmo> References: <1397043630-13972-1-git-send-email-thierry.reding@gmail.com> <1397043630-13972-4-git-send-email-thierry.reding@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0765399931==" Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 471BF6EF3A for ; Fri, 2 May 2014 07:19:23 -0700 (PDT) Received: by mail-ee0-f49.google.com with SMTP id e53so3200788eek.8 for ; Fri, 02 May 2014 07:19:21 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Erik Faye-Lund Cc: "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org --===============0765399931== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline --/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 28, 2014 at 09:49:48PM +0200, Erik Faye-Lund wrote: > On Thu, Apr 10, 2014 at 7:20 PM, Erik Faye-Lund wro= te: > > On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding wrote: > >> From: Thierry Reding > >> > >> This test opens a device, dumps the version information and checks that > >> a Tegra DRM context can be opened on it. > >> > >> Signed-off-by: Thierry Reding > > > > Looks good! >=20 > Actually, "make check" doesn't work here: >=20 > kusma@localhost:~/src/libdrm$ make -C tests/tegra/ check > make: Entering directory `/home/kusma/src/libdrm/tests/tegra' > make openclose gr2d-fill > make[1]: Entering directory `/home/kusma/src/libdrm/tests/tegra' > make[1]: `openclose' is up to date. > make[1]: `gr2d-fill' is up to date. > make[1]: Leaving directory `/home/kusma/src/libdrm/tests/tegra' > make check-TESTS > make[1]: Entering directory `/home/kusma/src/libdrm/tests/tegra' > FAIL: openclose > failed to open DRM device (null): Bad address > FAIL: gr2d-fill > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 2 of 2 tests failed > Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=3DDRI > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > make[1]: *** [check-TESTS] Error 1 > make[1]: Leaving directory `/home/kusma/src/libdrm/tests/tegra' > make: *** [check-am] Error 2 > make: Leaving directory `/home/kusma/src/libdrm/tests/tegra' I've modified the tests to default to /dev/dri/card0 if no device was specified on the command-line. Thierry --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTY6kCAAoJEN0jrNd/PrOh9EsQAMMCfqyv/FlYJ7oe4l3aVJG3 stiiTsQ6l1DjSxY1e2I7/bkDApLayeiOtzynSBLFQHLqIFx2HmkeDzsdFCudyuoC Yfc8eZv+K/+iy30Smh78YwzJBsd5el5Wcgh2rDEazjXZJiPkRGWjlVdPqfICDB+r RjSE10fiO8ci+6DTO84nULZQIveVP9KXXTDiDgC2l8igXIjdPHu7p0IIud+jHurm 80Mt1pOrKDasNiewCeOvElwQGBPuhD0plkXAZ1NL/uvWEKr6VyC9q/lAqBa8pYFG 2yz3OZH10NB8kQ4Z0+5IFKt+HwU8x2UHmNp2unTSQoB1Bdgr0O6+ttmkP0c2RpAk Veknp2cnRNmznDOP3HJeFxRy5qOrDo6Xuc5fJCcnk3qCKwAB1G5KOSKSCu0f40ce ofMungIcG3Cof07moJ+98tuY4CVt5Po+cH6h/goXcxjl2KOWY3S73pnAhbmgrkas RqL5ZpGbvrxXy1u39DMsSxrujZHO26PVbFIJqcn8THRaQTqF43Y6yIRKp2Vvasj8 RjDFDfBzMweDtNWC+7iDBgaaSTee6T+Jjtq/TIoSGrA6n2qI3Yj89GYjUfqB+BY6 n1jj/f8hgAnnCTtzJRI5WsFBtF6vLzZHYyzKgGQgL5mpvKIW8ldIy4rQOM/YonN/ k5lvw2plQOQy1SORrDul =VMmy -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8-- --===============0765399931== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0765399931==--