From: Oliver McFadden Date: Mon, 1 Oct 2012 23:31:03 +0000 (+0300) Subject: mesa: tests: EnumStrings.LookUpByNumber X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff835724b5e59474205c69b05862f8086442ede3;p=mesa.git mesa: tests: EnumStrings.LookUpByNumber [ 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 --- diff --git a/src/mesa/main/tests/enum_strings.cpp b/src/mesa/main/tests/enum_strings.cpp index b9def32bdb7..ebb2b179dff 100644 --- a/src/mesa/main/tests/enum_strings.cpp +++ b/src/mesa/main/tests/enum_strings.cpp @@ -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" },