-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates gtest usage and structure in CMakeLists and package.xml.
- Loading branch information
1 parent
9a4a650
commit 5adbc2c
Showing
8 changed files
with
13 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +0,0 @@ | ||
include_directories ( | ||
${PROJECT_SOURCE_DIR}/test/gtest/include | ||
${PROJECT_SOURCE_DIR}/test/gtest | ||
${PROJECT_SOURCE_DIR}/test | ||
${PROJECT_BINARY_DIR} | ||
) | ||
|
||
configure_file (test_config.h.in ${PROJECT_BINARY_DIR}/include/delphyne/test_config.h) | ||
|
||
# Build gtest | ||
add_library(gtest STATIC gtest/src/gtest-all.cc) | ||
add_library(gtest_main STATIC gtest/src/gtest_main.cc) | ||
target_link_libraries(gtest_main gtest) | ||
set(GTEST_LIBRARY "${PROJECT_BINARY_DIR}/test/libgtest.a") | ||
set(GTEST_MAIN_LIBRARY "${PROJECT_BINARY_DIR}/test/libgtest_main.a") | ||
|
||
execute_process(COMMAND cmake -E remove_directory ${CMAKE_BINARY_DIR}/test_results) | ||
execute_process(COMMAND cmake -E make_directory ${CMAKE_BINARY_DIR}/test_results) | ||
include_directories(${GTEST_INCLUDE_DIRS}) | ||
|
||
add_subdirectory(integration) | ||
add_subdirectory(performance) | ||
add_subdirectory(regression) | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.