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
F81406947: D4058.id10117.diff
Mon, Apr 15, 9:46 PM
F81391863: D4058.id17078.diff
Mon, Apr 15, 4:30 PM
F81391366: D4058.id17070.diff
Mon, Apr 15, 4:21 PM
F81390866: D4058.id17070.diff
Mon, Apr 15, 4:07 PM
F81390515: D4058.id17078.diff
Mon, Apr 15, 3:58 PM
F81388927: D4058.id10116.diff
Mon, Apr 15, 3:15 PM
F81387866: D4058.id17071.diff
Mon, Apr 15, 2:50 PM
F81387576: D4058.id9865.diff
Mon, Apr 15, 2:43 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4021
Build 4064: arc lint + arc unit

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.