Skip to content

Commit

Permalink
fix automatix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Amazingkivas committed Feb 21, 2024
1 parent 5f11954 commit 3eb9e45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Run tests
shell: bash
run: |
${PWD}/sln/build/FDTD_test/Release/FDTD_test.exe --gtest_repeat=2 --gtest_break_on_failure
${PWD}/sln/build/test_FDTD_method/Release/test_FDTD_method.exe --gtest_repeat=2 --gtest_break_on_failure
2 changes: 1 addition & 1 deletion sln/FDTD_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ file(GLOB hdrs "*.h*" "../../include/*.h")
#file(GLOB hdrs "*.h*")
file(GLOB srcs "*.cpp" "../../src/*.cpp")

add_executable(${target} ${srcs} ${hdrs})
add_library(${target} ${srcs} ${hdrs})
target_link_libraries(${target} gtest)

add_compile_options(/wd4996)
4 changes: 3 additions & 1 deletion sln/test_FDTD_method/CmakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ file(GLOB hdrs "*.h*" "../../include/*.h" "../../gtest/*.h")
file(GLOB srcs "*.cpp" "../../src/*.cpp" "../../test/*.cpp")

add_executable(${target} ${srcs} ${hdrs})
target_link_libraries(${target} gtest)
target_link_libraries(${target} gtest)

add_compile_options(/wd4996)

0 comments on commit 3eb9e45

Please sign in to comment.