Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748
[platform/upstream/VK-GL-CTS.git] / modules / egl / CMakeLists.txt
1 # dEQP-EGL
2
3 set(DEQP_EGL_SRCS
4         teglAndroidUtil.cpp
5         teglAndroidUtil.hpp
6         teglApiCase.cpp
7         teglApiCase.hpp
8         teglBufferAgeTests.hpp
9         teglBufferAgeTests.cpp
10         teglChooseConfigReference.cpp
11         teglChooseConfigReference.hpp
12         teglChooseConfigTests.cpp
13         teglChooseConfigTests.hpp
14         teglQueryConfigTests.cpp
15         teglQueryConfigTests.hpp
16         teglColorClearCase.cpp
17         teglColorClearCase.hpp
18         teglColorClearTests.cpp
19         teglColorClearTests.hpp
20         teglConfigList.cpp
21         teglConfigList.hpp
22         teglCreateContextTests.cpp
23         teglCreateContextTests.hpp
24         teglGetFrameTimestampsTests.cpp
25         teglGetFrameTimestampsTests.hpp
26         teglQueryContextTests.cpp
27         teglQueryContextTests.hpp
28         teglCreateSurfaceTests.cpp
29         teglCreateSurfaceTests.hpp
30         teglQuerySurfaceTests.cpp
31         teglQuerySurfaceTests.hpp
32         teglGetProcAddressTests.cpp
33         teglGetProcAddressTests.hpp
34         teglGLES1RenderUtil.cpp
35         teglGLES1RenderUtil.hpp
36         teglGLES2RenderUtil.cpp
37         teglGLES2RenderUtil.hpp
38         teglImageUtil.cpp
39         teglImageUtil.hpp
40         teglImageTests.cpp
41         teglImageTests.hpp
42         teglInfoTests.cpp
43         teglInfoTests.hpp
44         teglMutableRenderBufferTests.cpp
45         teglMutableRenderBufferTests.hpp
46         teglNegativeApiTests.cpp
47         teglNegativeApiTests.hpp
48         teglPartialUpdateTests.cpp
49         teglPartialUpdateTests.hpp
50         teglNegativePartialUpdateTests.cpp
51         teglNegativePartialUpdateTests.hpp
52         teglRenderCase.cpp
53         teglRenderCase.hpp
54         teglRenderTests.cpp
55         teglRenderTests.hpp
56         teglSimpleConfigCase.cpp
57         teglSimpleConfigCase.hpp
58         teglTestCase.cpp
59         teglTestCase.hpp
60         teglTestPackage.cpp
61         teglTestPackage.hpp
62         teglVGRenderUtil.cpp
63         teglVGRenderUtil.hpp
64         teglImageFormatTests.hpp
65         teglImageFormatTests.cpp
66         teglGLES2SharingTests.hpp
67         teglGLES2SharingTests.cpp
68         teglGLES2SharingThreadedTests.hpp
69         teglGLES2SharingThreadedTests.cpp
70         teglSyncTests.hpp
71         teglSyncTests.cpp
72         teglMultiThreadTests.hpp
73         teglMultiThreadTests.cpp
74         teglMemoryStressTests.hpp
75         teglMemoryStressTests.cpp
76         teglMakeCurrentPerfTests.hpp
77         teglMakeCurrentPerfTests.cpp
78         teglGLES2SharedRenderingPerfTests.hpp
79         teglGLES2SharedRenderingPerfTests.cpp
80         teglPreservingSwapTests.hpp
81         teglPreservingSwapTests.cpp
82         teglClientExtensionTests.hpp
83         teglClientExtensionTests.cpp
84         teglCreateContextExtTests.hpp
85         teglCreateContextExtTests.cpp
86         teglSurfacelessContextTests.hpp
87         teglSurfacelessContextTests.cpp
88         teglSwapBuffersTests.hpp
89         teglSwapBuffersTests.cpp
90         teglNativeColorMappingTests.hpp
91         teglNativeColorMappingTests.cpp
92         teglNativeCoordMappingTests.hpp
93         teglNativeCoordMappingTests.cpp
94         teglResizeTests.hpp
95         teglResizeTests.cpp
96         teglSwapBuffersWithDamageTests.hpp
97         teglSwapBuffersWithDamageTests.cpp
98         teglMultiContextTests.hpp
99         teglMultiContextTests.cpp
100         teglThreadCleanUpTests.hpp
101         teglThreadCleanUpTests.cpp
102         teglRobustnessTests.hpp
103         teglRobustnessTests.cpp
104         )
105
106 set(DEQP_EGL_LIBS
107         tcutil
108         eglutil
109         referencerenderer
110         glutil
111         glutil-sglr
112         ${DEQP_EGL_LIBRARIES}
113         )
114
115 if (DE_OS_IS_ANDROID)
116         # EGL tests require headers from Android port directory
117         include_directories(${CMAKE_SOURCE_DIR}/framework/platform/android)
118         set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} tcutil-platform)
119 endif ()
120
121 if (DEQP_SUPPORT_GLES1)
122         set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_GLES1_LIBRARIES})
123 endif ()
124
125 if (DEQP_SUPPORT_VG)
126         set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_VG_LIBRARIES})
127 endif ()
128
129 add_deqp_module(deqp-egl "${DEQP_EGL_SRCS}" "${DEQP_EGL_LIBS}" teglTestPackageEntry.cpp)