Summary: | [Piglit] Throwing "...does not recognize some tests" error when libraries are missing | ||
---|---|---|---|
Product: | piglit | Reporter: | hecmundo <hector.edmundox.ramirez.gomez> |
Component: | infrastructure | Assignee: | Dylan Baker <baker.dylan.c> |
Status: | RESOLVED NOTOURBUG | QA Contact: | Piglit Mailing List <piglit> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
hecmundo
2017-08-07 19:48:58 UTC
There is some missing information here: Are you compiling piglit on the Ubuntu image, or trying to run a version from somewhere. If you're not compiling yourself, are you installing from a pacakge like a .deb file, or copying a pre-compiled copy of piglit? Dylan (In reply to Dylan Baker from comment #1) > There is some missing information here: > > Are you compiling piglit on the Ubuntu image, or trying to run a version > from somewhere. If you're not compiling yourself, are you installing from a > pacakge like a .deb file, or copying a pre-compiled copy of piglit? > > Dylan None of them. It is not necessary to compile piglit when using igt. This is what I mean: $ : pwd /home/gfx/intel-graphics/intel-gpu-tools/tests $ : ldd testdisplay | grep -i "not found" libprocps.so.4 => not found libpng12.so.0 => not found That really sounds more like an igt bug than a piglit bug. Piglit when not compiled only depends on python and six (there are some other optional libraries), but definitely not libpng or libprocps. With IGT piglit is just acting as a wrapper to add additional functionality (dmesg checking, process isolation, resume, etc); either the messages being generated by igt when there are missing dependencies are insufficient, or the wrapper layer in $piglit/tests/igt.py are insufficient, either way this is really an IGT related problem. Dylan > $ : ldd testdisplay | grep -i "not found" > libprocps.so.4 => not found This here is from IGT - lib/igt_aux.c, in particular. > libpng12.so.0 => not found While this is from piglit - tests/util/piglit-util-png.c Both libraries are optional dependencies. It seems that they were available on the build system yet are missing on the run/test one. Overall this looks like a user/packaging bug. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.