[Piglit] [Patch v2 01/11] Replace end_config with 'end config' in glsl parser tests

Dylan Baker baker.dylan.c at gmail.com
Thu Mar 27 15:33:54 PDT 2014


The example glsl parser test doesn't list end_config as acceptable, and
there are only 5 tests using end_config, so it makes sense to just fix
those tests rather than generating slower more complicated regex for
handling end_config.

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 .../spec/glsl-1.20/compiler/qualifiers/out-conversion-int-to-float.vert | 2 +-
 tests/spec/glsl-1.30/compiler/texture/texelFetch.frag                   | 2 +-
 tests/spec/glsl-1.30/compiler/texture/texelFetchOffset.frag             | 2 +-
 tests/spec/glsl-1.30/compiler/texture/texelFetchOffset2.frag            | 2 +-
 tests/spec/glsl-1.30/compiler/texture/textureSize.frag                  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/spec/glsl-1.20/compiler/qualifiers/out-conversion-int-to-float.vert b/tests/spec/glsl-1.20/compiler/qualifiers/out-conversion-int-to-float.vert
index a17a5ad..fdea1ba 100644
--- a/tests/spec/glsl-1.20/compiler/qualifiers/out-conversion-int-to-float.vert
+++ b/tests/spec/glsl-1.20/compiler/qualifiers/out-conversion-int-to-float.vert
@@ -2,7 +2,7 @@
  * [config]
  * glsl_version: 1.20
  * expect_result: pass
- * [end_config]
+ * [end config]
  *
  * Test that implicit type conversion of out parameters is properly
  * used to match function calls to callees.
diff --git a/tests/spec/glsl-1.30/compiler/texture/texelFetch.frag b/tests/spec/glsl-1.30/compiler/texture/texelFetch.frag
index 9743aa1..5467f86 100644
--- a/tests/spec/glsl-1.30/compiler/texture/texelFetch.frag
+++ b/tests/spec/glsl-1.30/compiler/texture/texelFetch.frag
@@ -1,7 +1,7 @@
 // [config]
 // expect_result: pass
 // glsl_version: 1.30
-// [end_config]
+// [end config]
 
 #version 130
 
diff --git a/tests/spec/glsl-1.30/compiler/texture/texelFetchOffset.frag b/tests/spec/glsl-1.30/compiler/texture/texelFetchOffset.frag
index 79dfdcb..a57582c 100644
--- a/tests/spec/glsl-1.30/compiler/texture/texelFetchOffset.frag
+++ b/tests/spec/glsl-1.30/compiler/texture/texelFetchOffset.frag
@@ -1,7 +1,7 @@
 // [config]
 // expect_result: fail
 // glsl_version: 1.30
-// [end_config]
+// [end config]
 
 #version 130
 
diff --git a/tests/spec/glsl-1.30/compiler/texture/texelFetchOffset2.frag b/tests/spec/glsl-1.30/compiler/texture/texelFetchOffset2.frag
index 362b833..2be26b7 100644
--- a/tests/spec/glsl-1.30/compiler/texture/texelFetchOffset2.frag
+++ b/tests/spec/glsl-1.30/compiler/texture/texelFetchOffset2.frag
@@ -1,7 +1,7 @@
 // [config]
 // expect_result: pass
 // glsl_version: 1.30
-// [end_config]
+// [end config]
 
 #version 130
 
diff --git a/tests/spec/glsl-1.30/compiler/texture/textureSize.frag b/tests/spec/glsl-1.30/compiler/texture/textureSize.frag
index 15e4fd5..cc23846 100644
--- a/tests/spec/glsl-1.30/compiler/texture/textureSize.frag
+++ b/tests/spec/glsl-1.30/compiler/texture/textureSize.frag
@@ -1,7 +1,7 @@
 // [config]
 // expect_result: pass
 // glsl_version: 1.30
-// [end_config]
+// [end config]
 
 #version 130
 
-- 
1.9.1



More information about the Piglit mailing list