summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GoogleTest/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorStefan Floeren <stefan.floeren@smartronic.de>2020-06-30 09:29:53 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-01 10:48:19 (GMT)
commit7b92e116830805e61a86119071e56b47eb5dd51c (patch)
tree7b9d258ae07b7a179bc94c1a6d563fb6f42341a7 /Tests/RunCMake/GoogleTest/RunCMakeTest.cmake
parent77ba7539adb805b154b778046eda491b40acf09e (diff)
downloadCMake-7b92e116830805e61a86119071e56b47eb5dd51c.zip
CMake-7b92e116830805e61a86119071e56b47eb5dd51c.tar.gz
CMake-7b92e116830805e61a86119071e56b47eb5dd51c.tar.bz2
Tests: Add test for GoogleTest XML_OUTPUT_DIR
Add tests to make sure the XML_OUTPUT_DIR is generated correctly and the correct files are getting created.
Diffstat (limited to 'Tests/RunCMake/GoogleTest/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/GoogleTest/RunCMakeTest.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/GoogleTest/RunCMakeTest.cmake b/Tests/RunCMake/GoogleTest/RunCMakeTest.cmake
index efd22be..530c8ab 100644
--- a/Tests/RunCMake/GoogleTest/RunCMakeTest.cmake
+++ b/Tests/RunCMake/GoogleTest/RunCMakeTest.cmake
@@ -101,6 +101,13 @@ function(run_GoogleTestXML DISCOVERY_MODE)
-R GoogleTestXML
--no-label-summary
)
+
+ run_cmake_command(GoogleTestXML-special-result
+ ${CMAKE_CTEST_COMMAND}
+ -C Debug
+ -R GoogleTestXMLSpecial
+ --no-label-summary
+ )
endfunction()
function(run_GoogleTest_discovery_timeout DISCOVERY_MODE)