from __future__ import division, absolute_import, print_function import os from framework.profile import TestProfile from framework.test import PiglitCLTest from framework import grouptools from .py_modules.constants import TESTS_DIR, GENERATED_TESTS_DIR __all__ = ['profile'] profile = TestProfile() # Custom with profile.group_manager(PiglitCLTest, 'custom') as g: g(['cl-custom-run-simple-kernel'], 'Run simple kernel') g(['cl-custom-flush-after-enqueue-kernel'], 'Flush after enqueue kernel') g(['cl-custom-r600-create-release-buffer-bug'], 'r600 create release buffer bug') g(['cl-custom-buffer-flags'], 'Buffer flags') with profile.group_manager(PiglitCLTest, 'api') as g: # Platform g(['cl-api-get-platform-ids'], 'clGetPlatformIDs') g(['cl-api-get-platform-info'], 'clGetPlatformInfo') # Device g(['cl-api-get-device-ids'], 'clGetDeviceIDs') g(['cl-api-get-device-info'], 'clGetDeviceInfo')
from __future__ import (absolute_import, division, print_function, unicode_literals) import os from framework.profile import TestProfile from framework.test import PiglitCLTest from framework import grouptools from .py_modules.constants import TESTS_DIR, GENERATED_TESTS_DIR __all__ = ['profile'] profile = TestProfile() # Custom with profile.group_manager(PiglitCLTest, 'custom') as g: g(['cl-custom-run-simple-kernel'], 'Run simple kernel') g(['cl-custom-flush-after-enqueue-kernel'], 'Flush after enqueue kernel') g(['cl-custom-r600-create-release-buffer-bug'], 'r600 create release buffer bug') g(['cl-custom-buffer-flags'], 'Buffer flags') with profile.group_manager(PiglitCLTest, 'api') as g: # Platform g(['cl-api-get-platform-ids'], 'clGetPlatformIDs') g(['cl-api-get-platform-info'], 'clGetPlatformInfo') # Device g(['cl-api-get-device-ids'], 'clGetDeviceIDs') g(['cl-api-get-device-info'], 'clGetDeviceInfo')
from __future__ import division, absolute_import, print_function import os from framework.profile import TestProfile from framework.test import PiglitCLTest from framework import grouptools from .py_modules.constants import TESTS_DIR, GENERATED_TESTS_DIR __all__ = ["profile"] profile = TestProfile() # Custom with profile.group_manager(PiglitCLTest, "custom") as g: g(["cl-custom-run-simple-kernel"], "Run simple kernel") g(["cl-custom-flush-after-enqueue-kernel"], "Flush after enqueue kernel") g(["cl-custom-r600-create-release-buffer-bug"], "r600 create release buffer bug") g(["cl-custom-buffer-flags"], "Buffer flags") with profile.group_manager(PiglitCLTest, "api") as g: # Platform g(["cl-api-get-platform-ids"], "clGetPlatformIDs") g(["cl-api-get-platform-info"], "clGetPlatformInfo") # Device g(["cl-api-get-device-ids"], "clGetDeviceIDs") g(["cl-api-get-device-info"], "clGetDeviceInfo") # Context
# # Minimal tests to check whether the installation is working # from __future__ import ( absolute_import, division, print_function, unicode_literals ) from framework import grouptools from framework.profile import TestProfile from framework.test import PiglitGLTest __all__ = ['profile'] profile = TestProfile() with profile.group_manager( PiglitGLTest, grouptools.join('spec', '!OpenGL 1.0', 'gl-1.0-readpixsanity')) as g: g(['gl-1.0-readpixsanity'], run_concurrent=True)
# # Minimal tests to check whether the installation is working # from __future__ import (absolute_import, division, print_function, unicode_literals) from framework import grouptools from framework.profile import TestProfile from framework.test import PiglitGLTest __all__ = ['profile'] profile = TestProfile() with profile.group_manager( PiglitGLTest, grouptools.join('spec', '!OpenGL 1.0', 'gl-1.0-readpixsanity')) as g: g(['gl-1.0-readpixsanity'], run_concurrent=True)
# # Minimal tests to check whether the installation is working # from __future__ import (absolute_import, division, print_function, unicode_literals) from framework import grouptools from framework.profile import TestProfile from framework.test import PiglitGLTest __all__ = ['profile'] profile = TestProfile() with profile.group_manager(PiglitGLTest, grouptools.join('spec', '!OpenGL 1.0')) as g: g(['gl-1.0-readpixsanity'], run_concurrent=True)