[Piglit] having issue while running piglit

Nitin Garg8 nitgarg8 at in.ibm.com
Wed Sep 4 03:35:52 PDT 2013


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.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130904/adb9dd7d/attachment-0001.html>


More information about the Piglit mailing list