summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 20:27:17 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 20:27:17 (GMT)
commit8ff49194435b19ca56e8be286899a8d6cd65a4c6 (patch)
treec1838acfc9d895583d9eaa7beeb12298e7c166db /Source/CMakeLists.txt
parentc690311b76f219b6be7ca9a956ac5ec0882e2cc6 (diff)
downloadCMake-8ff49194435b19ca56e8be286899a8d6cd65a4c6.zip
CMake-8ff49194435b19ca56e8be286899a8d6cd65a4c6.tar.gz
CMake-8ff49194435b19ca56e8be286899a8d6cd65a4c6.tar.bz2
ENH: Add a tar test
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 89ad2a0..10828eb 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -313,6 +313,16 @@ IF(BUILD_TESTING)
--build-project CommandLineTest
--test-command CommandLineTest)
+ ADD_TEST(TarTest ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/TarTest"
+ "${CMake_BINARY_DIR}/Tests/TarTest"
+ --build-two-config
+ --build-generator ${CMAKE_GENERATOR}
+ --build-makeprogram ${MAKEPROGRAM}
+ --build-project TestTar
+ --test-command TestTarExec)
+
ADD_TEST(CustomCommand ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/CustomCommand"