Skip to content

Commit

Permalink
Saved test executable
Browse files Browse the repository at this point in the history
bialger committed Feb 13, 2024
1 parent 8f9f67e commit 1b1aae9
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ jobs:
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
if [ "${{ matrix.config.cxx }}" == "g++" ]; then
./cpp_tests_tests.exe
./cpp_tests_tests_.exe
else
cd Debug
./cpp_tests_tests.exe
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -49,6 +49,7 @@ if(WIN32)
add_custom_command(TARGET ${PROJECT_NAME}_tests POST_BUILD
COMMAND "cp" ARGS "${GTEST_DIR}/libgtest.${MINGW_LIBRARY_EXTENSION}" "${CMAKE_BINARY_DIR}/libgtest.${MINGW_LIBRARY_EXTENSION}"
COMMAND "cp" ARGS "${GTEST_DIR}/libgtest_main.${MINGW_LIBRARY_EXTENSION}" "${CMAKE_BINARY_DIR}/libgtest_main.${MINGW_LIBRARY_EXTENSION}"
COMMAND "cp" ARGS "${CMAKE_BINARY_DIR}/${PROJECT_NAME}_tests.exe" "${CMAKE_BINARY_DIR}/${PROJECT_NAME}_tests_.exe"
COMMENT "Copying to output directory")
endif()
endif()

0 comments on commit 1b1aae9

Please sign in to comment.