Page MenuHomeFreeBSD

graphics/piglit: New port for the Mesa testsuite
ClosedPublic

Authored by dumbbell on Nov 1 2015, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 8:28 AM
Unknown Object (File)
Wed, Nov 27, 7:48 PM
Unknown Object (File)
Nov 24 2024, 8:12 PM
Unknown Object (File)
Nov 22 2024, 8:22 PM
Unknown Object (File)
Nov 22 2024, 3:34 PM
Unknown Object (File)
Nov 21 2024, 5:16 PM
Unknown Object (File)
Nov 21 2024, 12:17 AM
Unknown Object (File)
Nov 19 2024, 6:11 PM
Subscribers
None

Details

Summary

I just discovered that Piglit now supports a "make install" target, so there is no need to build and run Piglit from its source/build tree: we can distribute it.

There is no released source archive. Upstream sources are available in freedesktop's Git repository. I have a mirror on my GitHub with a patch for FreeBSD in the master-freebsd branch (I still need to upstream it). The port uses USE_GITHUB to fetch sources from this branch.

All tests, comprised of native binaries, Python scripts and data files, are all installed in $LOCALBASE/lib. I didn't try to split that in lib/libdata/libexec/share as it would require patching Piglit and I see no good reason for it. The plist is huge with more than 28000 files.

Test Plan

Once installed, you can run a sanity check:

  • piglit run sanity /directory/for/results/storage
  • piglit summary html /directory/for/summary/storage /directory/for/results/storage

An HTML summary is available in /directory/for/summary/storage/index.html.

Piglit usage is documented in /usr/local/share/doc/piglit/README.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dumbbell retitled this revision from to graphics/piglit: New port for the Mesa testsuite.
dumbbell updated this object.
dumbbell edited the test plan for this revision. (Show Details)
dumbbell added reviewers: kwm, zeising.
dumbbell removed rP FreeBSD ports repository as the repository for this revision.

Same diff as the initial revision of this review, but uploaded manually instead of using arc(1).

Add pkg-message to tell how to find usage instructions

Fix build if libcaca is installed

A fix was committed to GitHub and the port uses this new revision.

Gbm and libcaca are now mandatory; likewise for OpenCL. No option is
available, everyone gets the same testsuite.

Update to a snapshot of 2016-05-27

Use a commit hash in $(GH_TAGNAME), not a branch name

dumbbell updated this object.

Use python2 in the piglit script

Reduce pkg-plist size by generating part of it

The patch is from @kwm.

kwm edited edge metadata.

Macro lgtm:

This revision is now accepted and ready to land.Aug 31 2016, 4:01 PM
This revision was automatically updated to reflect the committed changes.