[Piglit] having issue while running piglit
Chad Versace
chad.versace at linux.intel.com
Thu Sep 5 10:56:13 PDT 2013
You must install waffle using `make install`. If you install it to a non-standard
location, then you must set the following environment variables to enable Piglit
to use it.
PKG_CONFIG_PATH
LD_LIBRARY_PATH
On 09/05/2013 08:49 AM, Nitin Garg8 wrote:
> Hi Dylan,
>
> This time I am under /root/piglit-master directory and I run :
>
> # /root/piglit-master
> # ccmake .
>
> I have the following settings :
>
> CMAKE_BUILD_TYPE Debug
> CMAKE_INSTALL_PREFIX /usr/local
> PIGLIT_BUILD_CL_TESTS OFF
> PIGLIT_BUILD_GLES1_TESTS ON
> PIGLIT_BUILD_GLES2_TESTS ON
> PIGLIT_BUILD_GLES3_TESTS ON
> PIGLIT_BUILD_GLX_TESTS ON
> PIGLIT_BUILD_GL_TESTS ON
> PIGLIT_USE_WAFFLE ON
>
> I installed mesa-libGLES-devel.s390x also and I see :
> ll /usr/lib64/ | grep GLES
> lrwxrwxrwx 1 root root 18 Sep 5 15:45 libGLESv2.so -> libGLESv2.so.2.0.0
> lrwxrwxrwx 1 root root 18 Sep 5 13:32 libGLESv2.so.2 -> libGLESv2.so.2.0.0
> -rwxr-xr-x 1 root root 140470 Sep 3 12:57 libGLESv2.so.2.0.0
>
> But when I run ccmake . in piglit directory It through this error :
>
> CMake Error at /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
> A required package was not found
> Call Stack (most recent call first):
> /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
> CMakeLists.txt:35 (pkg_check_modules)
>
> CMake Error at CMakeLists.txt:38 (message):
> Failed to find Waffle. If Waffle is not packaged for your distribution,
> you can get it at http://people.freedesktop.org/~chadversary/waffle.
>
> I am not able to understand how should I specify waffle to piglit. Waffle is present under same /root directory.
>
> ls /root/waffle-1.2.3
> Android.mk CMakeFiles LICENSE.txt README.txt cmake doc examples install_manifest.txt man
> src third_party waffle.pc.in
> CMakeCache.txt CMakeLists.txt Makefile bin cmake_install.cmake doxygen include lib pkg tests
> waffle-1.pc waffle_cgl.xcodeproj
>
> ls /root/piglit-master
> CMakeCache.txt COPYING RELEASE examples generated_tests licences piglit-run.py
> piglit-summary.py tests
> CMakeFiles HACKING cmake framework glapi piglit-merge-results.py piglit-summary-html.py src
> CMakeLists.txt README documentation generate-glean-tests.py include piglit-print-commands.py
> piglit-summary-junit.py templates
>
> Please do reply.
>
> Regards
> Nitin
> --------------------------------------------
> Nitin Garg
> IBM India Software Labs
> Embassy Golf Links Business Park
> Bangalore - 560071, INDIA
> mailto : nitgarg8 at in.ibm.com
> Ph : +91-80-41776992(off.)
>
>
>
> *Dylan Baker <baker.dylan.c at gmail.com>*
>
> 09/04/2013 08:16 PM
>
>
> To
> piglit at lists.freedesktop.org
> cc
> Nitin Garg8/India/IBM at IBMIN
> Subject
> Re: [Piglit] having issue while running piglit
>
>
>
>
>
>
>
>
> Sorry if this sounds bad, but have your run cmake and make? It sounds like
> you've failed to compile piglit.
>
> On Wednesday 04 September 2013 16:05:52 Nitin Garg8 wrote:
> > Hi,
> >
> > While running piglit I am facing the following issues :
> >
> > python ./piglit-run.py tests/all.tests results/all.results/
> > Traceback (most recent call last):
> > File "/root/piglit-master/framework/core.py", line 597, in
> > loadTestProfile
> > execfile(filename, ns)
> > File "tests/all.tests", line 3044, in <module>
> > recursive=True)
> > File "/root/piglit-master/framework/shader_test.py", line 67, in
> > add_shader_test_dir
> > for filename in os.listdir(dirpath):
> > OSError: [Errno 2] No such file or directory: 'generated_tests/spec'
> > Traceback (most recent call last):
> > File "./piglit-run.py", line 180, in <module>
> > main()
> > File "./piglit-run.py", line 147, in main
> > profile = core.loadTestProfile(profileFilename)
> > File "/root/piglit-master/framework/core.py", line 600, in
> > loadTestProfile
> > raise Exception('Could not read tests profile')
> > Exception: Could not read tests profile
> >
> > I can't see spec file present under generated_tests. My current directory
> > from where I executed ./piglit-run.py is :
> >
> > /root/piglit-master
> >
> > I even tried setting my PIGLIT_BUILD_DIR=/root/piglit-master
> >
> > Than I copied manually /root/piglit-master/tests/spec to
> > /root/piglit-master/generated_tests/. and found that most of the tests are
> > skipped because in log it says :
> > [Wed Sep 4 12:20:08 2013] :: skip ::
> > spec/ARB_color_buffer_float/GL_RGBA32F-render
> > [Wed Sep 4 12:20:08 2013] :: running ::
> > spec/EXT_framebuffer_multisample/clip-and-scissor-blit 16 downsample
> > [Wed Sep 4 12:20:08 2013] :: skip ::
> > spec/glsl-1.30/execution/textureSize/vs-textureSize-usampler1D
> > [Wed Sep 4 12:20:08 2013] :: running ::
> > spec/glsl-1.40/compiler/reserved/layout.frag
> > [Wed Sep 4 12:20:08 2013] :: skip ::
> > spec/EXT_framebuffer_multisample/clip-and-scissor-blit 16 downsample
> > [Wed Sep 4 12:20:08 2013] :: running ::
> > spec/ARB_depth_buffer_float/fbo-depth-GL_DEPTH_COMPONENT32F-clear
> > [Wed Sep 4 12:20:08 2013] :: skip ::
> > spec/glsl-1.40/compiler/reserved/layout.frag
> > [Wed Sep 4 12:20:08 2013] :: running ::
> > spec/glsl-1.10/execution/variable-indexing/fs-temp-array-mat4-row-wr
> > ^Z
> >
> > log file says :
> >
> > "spec/!OpenGL 1.1/getteximage-luminance": {
> > "info": "Returncode: None\n\nErrors:\n\n\nOutput:\nTest
> > executable not found.\n",
> > "returncode": null,
> > "note": "Returncode was None",
> > "command":
> > "/root/piglit-master/framework/../bin/getteximage-luminance -auto",
> > "result": "skip",
> > "time": 0.019272804260253906
> >
> > Though there is no bin directory present under /root/piglit-master.
> >
> >
> > Regards
> > Nitin
> > --------------------------------------------
> > Nitin Garg
> > IBM India Software Labs
> > Embassy Golf Links Business Park
> > Bangalore - 560071, INDIA
> > mailto : nitgarg8 at in.ibm.com
> > Ph : +91-80-41776992(off.)
>
>
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
More information about the Piglit
mailing list