Clean up some test files.
This commit is contained in:
parent
1adc9272f8
commit
b45385e8c7
51 changed files with 485 additions and 281 deletions
20
test/graphics/CMakeLists.txt
Normal file
20
test/graphics/CMakeLists.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
set(PLATFORM_UNIT_TEST_FILES)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE "GLVND")
|
||||
find_package(OpenGL QUIET)
|
||||
if (OpenGL_FOUND)
|
||||
set(PLATFORM_UNIT_TEST_FILES
|
||||
graphics/TestOpenGlRendering.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
set(GRAPHICS_UNIT_TEST_FILES
|
||||
graphics/TestRasterizer.cpp
|
||||
${PLATFORM_UNIT_TEST_FILES}
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(GRAPHICS_UNIT_TEST_DEPENDENCIES
|
||||
graphics client
|
||||
PARENT_SCOPE
|
||||
)
|
|
@ -15,5 +15,7 @@ TEST_CASE(TestOpenGlRendering, "graphics")
|
|||
|
||||
app->setUiInterfaceBackend(UiInterfaceFactory::Backend::X11);
|
||||
//app->setUiInterfaceBackend(UiInterfaceFactory::Backend::X11_RASTER);
|
||||
app->run();
|
||||
|
||||
|
||||
//app->run();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue