diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-10-07 16:29:43 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-10-07 17:01:32 (GMT) |
commit | fe390a2607afcd8f0985a54990236a3ea16643ab (patch) | |
tree | 006a818bc55b7337177ee806d5ce161a79a84125 /Tests/CMakeLists.txt | |
parent | 8dbb2090a2fac15f61710afef9887e224c1c7f72 (diff) | |
download | CMake-fe390a2607afcd8f0985a54990236a3ea16643ab.zip CMake-fe390a2607afcd8f0985a54990236a3ea16643ab.tar.gz CMake-fe390a2607afcd8f0985a54990236a3ea16643ab.tar.bz2 |
Add 'ArgumentExpansion' test
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 739dcdf..a725354 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -368,6 +368,21 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/ ) LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/CustComDepend") + ADD_TEST(ArgumentExpansion ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/ArgumentExpansion" + "${CMake_BINARY_DIR}/Tests/ArgumentExpansion" + --build-generator ${CMAKE_TEST_GENERATOR} + --build-project ArgumentExpansion + --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} + --build-exe-dir "${CMake_BINARY_DIR}/Tests/ArgumentExpansion/bin" + ) + IF(CMAKE_STRICT) + SET_TESTS_PROPERTIES(ArgumentExpansion PROPERTIES + FAIL_REGULAR_EXPRESSION "Error: ") + ENDIF(CMAKE_STRICT) + LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/ArgumentExpansion") + ADD_TEST(CustomCommand ${CMAKE_CTEST_COMMAND} --build-and-test "${CMake_SOURCE_DIR}/Tests/CustomCommand" |