Skip to contentSkip to conversation

New: Test fails during compilation

Bug 43924 [email protected] 1 participant 4 messages Dec 18, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=43924

Bug #: 43924
Summary: Test fails during compilation
Classification: Unclassified
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: libdrm
AssignedTo: [email protected]
ReportedBy: [email protected]

=======================================================================
1 of 11 tests failed
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
=======================================================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/tests' make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/tests' make[1]: *** [check-recursive] Error 1
make[1]: Target check' not remade because of errors. make[1]: Leaving directory /tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/tests' Making check in include
make[1]: Entering directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include' Making check in drm
make[2]: Entering directory /tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include/drm' make[2]: Nothing to be done for check'.
make[2]: Leaving directory /tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include/drm' make[2]: Entering directory /tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include' make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory /tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include' make[1]: Leaving directory /tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include'
make: *** [check-recursive] Error 1
make: Target `check' not remade because of errors.

I don't know how to read this, and it says to post a bug report so.. I'm using arch linux with latest kernel (64bit) and a core2.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 43924] Test fails during compilation

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43924

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Chris Wilson <[email protected]> 2011-12-18 06:04:18 PST --- commit ef20301a11afae50bfe127002913dbd0b81ddccc

Author: Chris Wilson <[email protected]>
Date:   Sun Dec 18 13:58:57 2011 +0000

tests/gem_flink: Check for MASTER before proceeding

gem_flink|gem_open are DRM_AUTH ioctl, and being lazy we do not establish ourselves as authenticated before testing the ioctls. So instead of aborting, skip the test unless we have root privileges (and so DRM_MASTER and the DRM_AUTH restriction no longer applies).

A future test could assert that the flink fails without proper authentication.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43924

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.