Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484618 - x11-apps/intel-gpu-tools-1.3 - install also the testsuite itself by default
Summary: x11-apps/intel-gpu-tools-1.3 - install also the testsuite itself by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-11 21:36 UTC by Martin Mokrejš
Modified: 2015-04-10 12:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2013-09-11 21:36:14 UTC
I would like to test my hardware and I am surprised the ebuild does not install the testsuite as well. While I admit the binaries themselves might be usefull on their own for skilled users, but others it is more usefull to have the testsuite and runn the stress tests. Quiting from README:


tests/
        This is a set of automated tests to run against the DRM to validate
        changes.  Hopefully this can cover the relevant cases we need to
        worry about, including backwards compatibility.

        Run this tests with "make test" as root from this directory. Note that
        no other drm clients (X server) may run.



That means ebuild must install the generated tests/Makefile as well.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-09-11 23:16:29 UTC
If I understand correctly, these tests do not test the hardware, but instead the kernel driver and DRM interface.
Comment 2 Matt Turner gentoo-dev 2013-10-15 23:04:48 UTC
These are really for developers or debugging. They're not really meant to be installed.
Comment 3 darkbasic 2013-10-17 07:28:37 UTC
Debugging is indeed the *main* reasone because I install intel-gpu-tools.
Comment 4 SpanKY gentoo-dev 2014-07-31 05:52:48 UTC
sounds like a good use for USE=debug then
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-04-10 12:31:54 UTC
The test programs for DRM driver development are now installed if you set USE="test-programs".

However these were not designed to run outside their build directory and may or may not work. testdisplay for example hardcodes the path to pass.png in the binary and will probably not run correctly.