Skip to content
Snippets Groups Projects
Commit 21330a11 authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Add GTest infrastructure

parent c5332255
No related branches found
No related tags found
1 merge request!82Add googletest
add_subdirectory(KWSys) add_subdirectory(KWSys)
if(BUILD_TESTING)
add_subdirectory(GTest)
endif()
set(KWSYS_NAMESPACE adios2sys)
set(KWSYS_USE_DynamicLoader ON)
set(KWSYS_BUILD_SHARED OFF)
if(NOT ADIOS_BUILD_SHARED_LIBS)
set(KWSYS_INSTALL_EXPORT_NAME adios2)
set(KWSYS_INSTALL_LIB_DIR ${CMAKE_INSTALL_LIBDIR})
endif()
add_subdirectory(adios2sys)
# Add the include usage requirements for KWSys
target_include_directories(adios2sys
INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/adios2sys
)
This is a copy of the upstream Google C++ test framework located at
https://github.com/google/googletest. Do not make changes directly to this repo
but instead to the upstream repository. Update this copy of GTest by running
the update.sh script.
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="GoogleTest"
readonly ownership="Google Test Upstream <robot@adios2>"
readonly subtree="thirdparty/GTest/googletest"
readonly repo="https://github.com/google/googletest.git"
readonly tag="release-1.8.0"
readonly shortlog="true"
readonly paths="
"
extract_source () {
git_archive
}
. "${BASH_SOURCE%/*}/../update-common.sh"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment