diff options
author | Sergiy Oryekhov <sergiyor@microsoft.com> | 2016-03-23 16:42:35 -0700 |
---|---|---|
committer | Sergiy Oryekhov <sergiyor@microsoft.com> | 2016-03-23 16:42:35 -0700 |
commit | 32d00796ad530d202dcbdaf817d47a2405b31301 (patch) | |
tree | 1610f4d2aac58ed37846367cf68a84df67e0d498 /tests | |
parent | ad0905c08ba7ef170f3ce8b807ca822d7db108ac (diff) | |
download | platform_external_Microsoft-GSL-32d00796ad530d202dcbdaf817d47a2405b31301.tar.gz platform_external_Microsoft-GSL-32d00796ad530d202dcbdaf817d47a2405b31301.tar.bz2 platform_external_Microsoft-GSL-32d00796ad530d202dcbdaf817d47a2405b31301.zip |
Adding unittest-cpp as a submodule.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 | ||||
m--------- | tests/unittest-cpp | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7990ec3..66516fe 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -28,8 +28,8 @@ else() endif() endif() -if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/unittest-cpp) - message(FATAL_ERROR "Could not find unittest-cpp enlistment. Please run 'git clone https://github.com/Microsoft/unittest-cpp.git unittest-cpp' in the tests directory") +if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/unittest-cpp/tests) + execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}") endif() function(add_gsl_test name) diff --git a/tests/unittest-cpp b/tests/unittest-cpp new file mode 160000 +Subproject dc6b90838014ab985bf3cd74ac17ad9d00e1fbc |