[Piglit] [PATCH 2/6] glslparsertest: Rename test bitwise-01.frag -> bit-not-01.frag

Chad Versace chad at chad-versace.us
Tue Oct 12 17:53:44 PDT 2010


From: Chad Versace <chad.versace at intel.com>

The renaming reflects the specific bit operator that the file tests. This
nuance matters because future commits add more bitwise tests that adhere to
this naming scheme.
---
 tests/glslparser.tests                     |    2 +-
 tests/glslparsertest/glsl2/bit-not-01.frag |    5 +++++
 tests/glslparsertest/glsl2/bitwise-01.frag |    5 -----
 3 files changed, 6 insertions(+), 6 deletions(-)
 create mode 100644 tests/glslparsertest/glsl2/bit-not-01.frag
 delete mode 100644 tests/glslparsertest/glsl2/bitwise-01.frag

diff --git a/tests/glslparser.tests b/tests/glslparser.tests
index 88f27ca..5fe79e8 100644
--- a/tests/glslparser.tests
+++ b/tests/glslparser.tests
@@ -221,7 +221,7 @@ add_otherglslparsertest('glsl2/attribute-08.vert', 'fail')
 add_otherglslparsertest('glsl2/attribute-09.vert', 'fail')
 add_otherglslparsertest('glsl2/attribute-10.vert', 'fail', '1.20')
 add_otherglslparsertest('glsl2/attribute-11.vert', 'fail', '1.30')
-add_otherglslparsertest('glsl2/bitwise-01.frag', 'fail')
+add_otherglslparsertest('glsl2/bit-not-01.frag', 'fail')
 add_otherglslparsertest('glsl2/builtin-functions-110.vert', 'pass')
 add_otherglslparsertest('glsl2/builtin-functions-110.frag', 'pass')
 add_otherglslparsertest('glsl2/builtin-functions-120.vert', 'pass', '1.20')
diff --git a/tests/glslparsertest/glsl2/bit-not-01.frag b/tests/glslparsertest/glsl2/bit-not-01.frag
new file mode 100644
index 0000000..b6f675e
--- /dev/null
+++ b/tests/glslparsertest/glsl2/bit-not-01.frag
@@ -0,0 +1,5 @@
+/* FAIL - bitwise operations aren't supported in 1.10. */
+void main()
+{
+    int x = ~0 - 1;
+}
diff --git a/tests/glslparsertest/glsl2/bitwise-01.frag b/tests/glslparsertest/glsl2/bitwise-01.frag
deleted file mode 100644
index b6f675e..0000000
--- a/tests/glslparsertest/glsl2/bitwise-01.frag
+++ /dev/null
@@ -1,5 +0,0 @@
-/* FAIL - bitwise operations aren't supported in 1.10. */
-void main()
-{
-    int x = ~0 - 1;
-}
-- 
1.7.1



More information about the Piglit mailing list