Skip to content

Commit

Permalink
Merge pull request #2943 from Holzhaus/cmake-appveyor-fix-tests
Browse files Browse the repository at this point in the history
CMake: Restore test working directory to fix Appveyor builds
  • Loading branch information
uklotzde committed Jul 15, 2020
2 parents c8467e8 + 211cbdc commit 3648cd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -1336,13 +1336,15 @@ include(GoogleTest)
enable_testing()
gtest_add_tests(
TARGET mixxx-test
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
TEST_LIST testsuite
)
set_tests_properties(${testsuite} PROPERTIES TIMEOUT 30)

# Benchmarking
add_custom_target(mixxx-benchmark
COMMAND $<TARGET_FILE:mixxx-test> --benchmark
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Mixxx Benchmarks"
VERBATIM
)
Expand Down

0 comments on commit 3648cd1

Please sign in to comment.