diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-30 17:39:38 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-30 17:39:38 (GMT) |
commit | ba3b7c1588abf9009895e47a93a0614bec484315 (patch) | |
tree | b15e17d83a19b6752ba34a18fd4a3e8e08ee8de0 /Tests/ComplexRelativePaths/Executable | |
parent | 8ea0a1a2373f76cb78a0890932f115aad0fb8df5 (diff) | |
download | CMake-ba3b7c1588abf9009895e47a93a0614bec484315.zip CMake-ba3b7c1588abf9009895e47a93a0614bec484315.tar.gz CMake-ba3b7c1588abf9009895e47a93a0614bec484315.tar.bz2 |
ENH: added testing of the WHILE command
Diffstat (limited to 'Tests/ComplexRelativePaths/Executable')
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index 6c62da3..85fe299 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -657,6 +657,18 @@ int main() #endif // ---------------------------------------------------------------------- + // Test WHILE + + if(WHILE_VALUE != 1000) + { + cmFailed("WHILE command is not working"); + } + else + { + cmPassed("WHILE command is working"); + } + + // ---------------------------------------------------------------------- // Test FIND_FILE, FIND_PATH and various GET_FILENAME_COMPONENT combinations #ifndef FILENAME_VAR_PATH_NAME |