Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Hussien-Abdo committed Jan 28, 2021
1 parent b7a4d11 commit 1d4dc2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
11 changes: 3 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,10 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(googletest)

set(TEST_NAME ${PROJECT_NAME}_reachability)
add_executable(${TEST_NAME} src/reachable/Tests.h)
set(TEST_NAME ${PROJECT_NAME}_tests)
add_executable(${TEST_NAME} src/test/Tests.cpp)
target_link_libraries(${TEST_NAME} gtest_main)

#set(TEST_Reachability ${PROJECT_NAME}_reachability)
#add_executable(${TEST_Reachability} src/reachable/Tests.h)
#target_link_libraries(${TEST_Reachability} gtest_main)

enable_testing()
include(GoogleTest)
gtest_discover_tests(${TEST_NAME})
#gtest_discover_tests(${TEST_Reachability})
gtest_discover_tests(${TEST_NAME})
3 changes: 0 additions & 3 deletions src/reachable/main_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// Created by ludwig on 22.11.16.
//


//#include "Tests.h"

#include "Tests.h"


Expand Down

0 comments on commit 1d4dc2d

Please sign in to comment.