[Piglit] [PATCH 03/24] all.py: replace tabs with four spaces
Dylan Baker
baker.dylan.c at gmail.com
Mon Jan 5 13:50:24 PST 2015
Mixed tabs and spaces are allowed in python 2.x (but not in 3.x where
they raise a runtime error), but they can lead to surprising behavior
since a tab and a space are considered equal for the purpose of indented
scoping.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
tests/all.py | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/tests/all.py b/tests/all.py
index 07231eb..458cf09 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -757,33 +757,33 @@ add_concurrent_test(gl11, 'getteximage-targets 1D')
add_concurrent_test(gl11, 'getteximage-targets 2D')
color_formats = [
- 'GL_RED', 'GL_R8', 'GL_R8_SNORM', 'GL_R16', 'GL_R16_SNORM',
- 'GL_R16F', 'GL_R32F',
+ 'GL_RED', 'GL_R8', 'GL_R8_SNORM', 'GL_R16', 'GL_R16_SNORM',
+ 'GL_R16F', 'GL_R32F',
- 'GL_RG', 'GL_RG8', 'GL_RG8_SNORM', 'GL_RG16', 'GL_RG16_SNORM',
- 'GL_RG16F', 'GL_RG32F',
+ 'GL_RG', 'GL_RG8', 'GL_RG8_SNORM', 'GL_RG16', 'GL_RG16_SNORM',
+ 'GL_RG16F', 'GL_RG32F',
- 'GL_RGB', 'GL_R3_G3_B2', 'GL_RGB4', 'GL_RGB5', 'GL_RGB8',
- 'GL_RGB8_SNORM', 'GL_SRGB8', 'GL_RGB10', 'GL_R11F_G11F_B10F',
- 'GL_RGB12', 'GL_RGB9_E5', 'GL_RGB16', 'GL_RGB16F',
- 'GL_RGB16_SNORM', 'GL_RGB32F',
+ 'GL_RGB', 'GL_R3_G3_B2', 'GL_RGB4', 'GL_RGB5', 'GL_RGB8',
+ 'GL_RGB8_SNORM', 'GL_SRGB8', 'GL_RGB10', 'GL_R11F_G11F_B10F',
+ 'GL_RGB12', 'GL_RGB9_E5', 'GL_RGB16', 'GL_RGB16F',
+ 'GL_RGB16_SNORM', 'GL_RGB32F',
- 'GL_RGBA', 'GL_RGBA2', 'GL_RGBA4', 'GL_RGB5_A1', 'GL_RGBA8',
- 'GL_RGB10_A2', 'GL_RGBA8_SNORM', 'GL_SRGB8_ALPHA8', 'GL_RGBA12',
- 'GL_RGBA16', 'GL_RGBA16_SNORM', 'GL_RGBA32F',
+ 'GL_RGBA', 'GL_RGBA2', 'GL_RGBA4', 'GL_RGB5_A1', 'GL_RGBA8',
+ 'GL_RGB10_A2', 'GL_RGBA8_SNORM', 'GL_SRGB8_ALPHA8', 'GL_RGBA12',
+ 'GL_RGBA16', 'GL_RGBA16_SNORM', 'GL_RGBA32F',
- 'GL_ALPHA', 'GL_ALPHA4', 'GL_ALPHA8', 'GL_ALPHA12', 'GL_ALPHA16',
+ 'GL_ALPHA', 'GL_ALPHA4', 'GL_ALPHA8', 'GL_ALPHA12', 'GL_ALPHA16',
- 'GL_LUMINANCE', 'GL_LUMINANCE4', 'GL_LUMINANCE8', 'GL_SLUMINANCE8',
- 'GL_LUMINANCE12', 'GL_LUMINANCE16',
+ 'GL_LUMINANCE', 'GL_LUMINANCE4', 'GL_LUMINANCE8', 'GL_SLUMINANCE8',
+ 'GL_LUMINANCE12', 'GL_LUMINANCE16',
- 'GL_LUMINANCE_ALPHA', 'GL_LUMINANCE4_ALPHA4',
- 'GL_LUMINANCE6_ALPHA2', 'GL_LUMINANCE8_ALPHA8',
- 'GL_SLUMINANCE8_ALPHA8', 'GL_LUMINANCE12_ALPHA4',
- 'GL_LUMINANCE12_ALPHA12', 'GL_LUMINANCE16_ALPHA16',
+ 'GL_LUMINANCE_ALPHA', 'GL_LUMINANCE4_ALPHA4',
+ 'GL_LUMINANCE6_ALPHA2', 'GL_LUMINANCE8_ALPHA8',
+ 'GL_SLUMINANCE8_ALPHA8', 'GL_LUMINANCE12_ALPHA4',
+ 'GL_LUMINANCE12_ALPHA12', 'GL_LUMINANCE16_ALPHA16',
]
for format in color_formats:
- add_concurrent_test(gl11, 'teximage-colors ' + format)
+ add_concurrent_test(gl11, 'teximage-colors ' + format)
gl10 = {}
spec['!OpenGL 1.0'] = gl10
--
2.2.1
More information about the Piglit
mailing list