From: Courtney Goeltzenleuchter Date: Mon, 10 Jul 2017 22:30:42 +0000 (-0600) Subject: Fix naming of test so it's printed properly X-Git-Tag: android-x86-9.0-r1~276 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d99694bb3ab32a98ae065cc353f3fe20d4adad28;p=android-x86%2Fframeworks-native.git Fix naming of test so it's printed properly When run, I was seeing: [ RUN ] EGLTest.1 [ OK ] EGLTest.1 (11 ms) That was because the test name I was using EGL_KHR_no_config_context, matched an EGL enum and was being replaced. This changes test name so it does not conflict with the EGL enum. Test: adb shell /data/nativetest/EGL_test/EGL_test Bug: 63077212 Change-Id: I5a04e18ba53e855a3579025c14ee11eeddae2bcf --- diff --git a/opengl/tests/EGLTest/EGL_test.cpp b/opengl/tests/EGLTest/EGL_test.cpp index 62e6bd3055..77d518938b 100644 --- a/opengl/tests/EGLTest/EGL_test.cpp +++ b/opengl/tests/EGLTest/EGL_test.cpp @@ -431,7 +431,7 @@ TEST_F(EGLTest, EGLConfigFP16) { EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); } -TEST_F(EGLTest, EGL_KHR_no_config_context) { +TEST_F(EGLTest, EGLNoConfigContext) { if (!hasWideColorDisplay) { // skip this test if device does not have wide-color display return;