Skip to content

Commit

Permalink
tests: force virtual platform in test target
Browse files Browse the repository at this point in the history
  • Loading branch information
Saviq committed Oct 27, 2023
1 parent 3827027 commit f9b9f98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/performance-tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ CMAKE_DEPENDENT_OPTION(

if(MIR_RUN_SMOKE_TESTS)
mir_add_test(NAME mir-smoke-test-runner
COMMAND "env" "MIR_SERVER_VIRTUAL_OUTPUT=1280x1024" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mir-smoke-test-runner"
COMMAND "env" "MIR_SERVER_PLATFORM_DISPLAY_LIBS=mir:virtual" "MIR_SERVER_VIRTUAL_OUTPUT=1280x1024" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mir-smoke-test-runner"
)
endif()

if(MIR_RUN_PERFORMANCE_TESTS)
mir_add_test(NAME mir_performance_tests
COMMAND "env" "MIR_SERVER_VIRTUAL_OUTPUT=1280x1024" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mir_performance_tests"
COMMAND "env" "MIR_SERVER_PLATFORM_DISPLAY_LIBS=mir:virtual" "MIR_SERVER_VIRTUAL_OUTPUT=1280x1024" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mir_performance_tests" "--gtest_filter=-CompositorPerformance.regression_test_1563287"
)
endif()

0 comments on commit f9b9f98

Please sign in to comment.