Skip to content

Commit

Permalink
Merge pull request #3077 from MirServer/coverage-performance
Browse files Browse the repository at this point in the history
coverage: actually run performance tests
  • Loading branch information
RAOF authored Oct 18, 2023
2 parents 1d57c1d + 0090033 commit 182bf7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ jobs:
sudo apt-add-repository --yes ppa:mir-team/dev
sudo apt-get install --no-install-recommends \
dmz-cursor-theme \
glmark2-es2 \
glmark2-es2-wayland \
lcov \
ninja-build
mesa-utils \
ninja-build \
xwayland
# deal with incompataibles preinstalled
sudo apt-get remove --yes \
Expand Down Expand Up @@ -84,7 +88,7 @@ jobs:
run: ccache --show-stats --zero-stats

- name: Test
timeout-minutes: 5
timeout-minutes: 10
env:
CTEST_OUTPUT_ON_FAILURE: 1
XDG_RUNTIME_DIR: /tmp
Expand Down
3 changes: 2 additions & 1 deletion tests/performance-tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ install(PROGRAMS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mir-smoke-test-runner
DESTINATION ${CMAKE_INSTALL_BINDIR}
)

find_program(EGLINFO_EXECUTABLE eglinfo)
find_program(XVFB_RUN_EXECUTABLE xvfb-run)
find_program(GLMARK2_EXECUTABLE glmark2-es2-wayland)

CMAKE_DEPENDENT_OPTION(
MIR_RUN_SMOKE_TESTS "Run mir-smoke-test-runner as part of testsuite" ON
"XVFB_RUN_EXECUTABLE" OFF
"EGLINFO_EXECUTABLE;XVFB_RUN_EXECUTABLE" OFF
)

CMAKE_DEPENDENT_OPTION(
Expand Down

0 comments on commit 182bf7c

Please sign in to comment.