Re: [PATCH v2 libdrm 3/7] tegra: Add simple test for drm_tegra_open()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <kusmabite@xxxxxxxxx> wrote:
> > On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding <thierry.reding@xxxxxxxxx> wrote:
> >> From: Thierry Reding <treding@xxxxxxxxxx>
> >>
> >> 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 <treding@xxxxxxxxxx>
> >
> > Looks good!
> 
> Actually, "make check" doesn't work here:
> 
> 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
> =======================================================================
> 2 of 2 tests failed
> Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
> =======================================================================
> 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

Attachment: pgps9p83hgNTp.pgp
Description: PGP signature

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux