mesa: tests: EnumStrings.LookUpByNumber
authorOliver McFadden <oliver.mcfadden@linux.intel.com>
Mon, 1 Oct 2012 23:31:03 +0000 (02:31 +0300)
committerOliver McFadden <oliver.mcfadden@linux.intel.com>
Wed, 3 Oct 2012 11:11:58 +0000 (14:11 +0300)
[ RUN      ] EnumStrings.LookUpByNumber
enum_strings.cpp:43: Failure
Value of: _mesa_lookup_enum_by_nr(everything[i].value)
  Actual: "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE"
Expected: everything[i].name
Which is: "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT"
enum_strings.cpp:43: Failure
Value of: _mesa_lookup_enum_by_nr(everything[i].value)
  Actual: "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE"
Expected: everything[i].name
Which is: "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT"
[  FAILED  ] EnumStrings.LookUpByNumber (2 ms)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55505
Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
src/mesa/main/tests/enum_strings.cpp

index b9def32bdb78c5d33574831e176504a85543818a..ebb2b179dffdabfa39b4283bc5137cbd2927545e 100644 (file)
@@ -824,8 +824,8 @@ const struct enum_info everything[] = {
    { 0x83A3, "GL_RGBA4_S3TC" },
    { 0x83F0, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT" },
    { 0x83F1, "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" },
-   { 0x83F2, "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT" },
-   { 0x83F3, "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT" },
+   { 0x83F2, "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE" },
+   { 0x83F3, "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE" },
    { 0x844D, "GL_NEAREST_CLIPMAP_NEAREST_SGIX" },
    { 0x844E, "GL_NEAREST_CLIPMAP_LINEAR_SGIX" },
    { 0x844F, "GL_LINEAR_CLIPMAP_NEAREST_SGIX" },