[Piglit] [PATCH 7/7] EXT_shader_framebuffer_fetch: Add test cases specific to desktop GL.
Michel Dänzer
michel at daenzer.net
Wed Jul 18 15:40:15 UTC 2018
Hi Francisco,
On 2018-02-14 10:29 PM, Francisco Jerez wrote:
> Implement generators for framebuffer fetch test cases using desktop GL
> features like 1D and layered framebuffers.
This patch broke the build for me, see below.
Note that I always run
ninja clean
before updating from Git, and
rm -rf bin generated_tests lib target_api; git checkout generated_tests
before building. If I don't do either of this, the problem doesn't
occur.
(Also, if I don't do the latter after checking out an older commit, the
problem occurs with them as well; avoiding that kind of issue is why I'm
doing this)
[5/6] Generating ../../../tests/quick_shader.no_isolation.xml.gz
FAILED: tests/quick_shader.no_isolation.xml.gz
cd /home/daenzer/src/piglit-git/piglit/target_api/no_api/tests && /usr/bin/cmake -E env PIGLIT_BUILD_TREE=/home/daenzer/src/piglit-git/piglit /usr/bin/python3 /home/daenzer/src/piglit-git/piglit/tests/serializer.py quick_shader.no_isolation /home/daenzer/src/piglit-git/piglit/tests/quick_shader.py /home/daenzer/src/piglit-git/piglit/tests/quick_shader.no_isolation.xml.gz --no-process-isolation
Traceback (most recent call last):
File "/home/daenzer/src/piglit-git/piglit/tests/serializer.py", line 151, in <module>
main()
File "/home/daenzer/src/piglit-git/piglit/tests/serializer.py", line 146, in main
profile = load_test_profile(args.input, python=True)
File "/home/daenzer/src/piglit-git/piglit/tests/../framework/profile.py", line 585, in load_test_profile
mod = importlib.import_module('tests.{0}'.format(name))
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/daenzer/src/piglit-git/piglit/tests/../tests/quick_shader.py", line 28, in <module>
from .shader import profile as _profile
File "/home/daenzer/src/piglit-git/piglit/tests/../tests/shader.py", line 79, in <module>
profile.test_list[group] = MultiShaderTest.new(files, installedfiles)
File "/home/daenzer/src/piglit-git/piglit/tests/../framework/test/shader_test.py", line 253, in new
'GLES and GL shaders in the same command!\n'
framework.exceptions.PiglitInternalError: An internal error occurred:
GLES and GL shaders in the same command!
Cannot pick a shader_runner binary!
[6/6] Generating ../../../tests/shader.no_isolation.xml.gz
FAILED: tests/shader.no_isolation.xml.gz
cd /home/daenzer/src/piglit-git/piglit/target_api/no_api/tests && /usr/bin/cmake -E env PIGLIT_BUILD_TREE=/home/daenzer/src/piglit-git/piglit /usr/bin/python3 /home/daenzer/src/piglit-git/piglit/tests/serializer.py shader.no_isolation /home/daenzer/src/piglit-git/piglit/tests/shader.py /home/daenzer/src/piglit-git/piglit/tests/shader.no_isolation.xml.gz --no-process-isolation
Traceback (most recent call last):
File "/home/daenzer/src/piglit-git/piglit/tests/serializer.py", line 151, in <module>
main()
File "/home/daenzer/src/piglit-git/piglit/tests/serializer.py", line 146, in main
profile = load_test_profile(args.input, python=True)
File "/home/daenzer/src/piglit-git/piglit/tests/../framework/profile.py", line 585, in load_test_profile
mod = importlib.import_module('tests.{0}'.format(name))
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/daenzer/src/piglit-git/piglit/tests/../tests/shader.py", line 79, in <module>
profile.test_list[group] = MultiShaderTest.new(files, installedfiles)
File "/home/daenzer/src/piglit-git/piglit/tests/../framework/test/shader_test.py", line 253, in new
'GLES and GL shaders in the same command!\n'
framework.exceptions.PiglitInternalError: An internal error occurred:
GLES and GL shaders in the same command!
Cannot pick a shader_runner binary!
ninja: build stopped: subcommand failed.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the Piglit
mailing list