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