diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-05-23 17:04:00 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-05-23 17:04:00 (GMT) |
commit | 14b07c0973f367352a75550af864b56dc99c3848 (patch) | |
tree | c78524be265379c84c4b1658b6d89e737092ef42 /Tests/ComplexRelativePaths/Executable | |
parent | 11d100c94f055f70f478125dace67434a2d1832b (diff) | |
download | CMake-14b07c0973f367352a75550af864b56dc99c3848.zip CMake-14b07c0973f367352a75550af864b56dc99c3848.tar.gz CMake-14b07c0973f367352a75550af864b56dc99c3848.tar.bz2 |
add a test for escape quotes and configure file
Diffstat (limited to 'Tests/ComplexRelativePaths/Executable')
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index fb268c4..0b20bfd 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -1,4 +1,5 @@ #include "cmTestConfigure.h" +#include "cmTestConfigureEscape.h" #include "cmVersion.h" #include "ExtraSources/file1.h" #include "file2.h" @@ -678,6 +679,18 @@ int main() { cmFailed("SEPARATE_ARGUMENTS is not working"); } + + // ---------------------------------------------------------------------- + // Test Escape Quotes + if(strcmp("\"hello world\"", STRING_WITH_QUOTES) == 0) + { + cmPassed("ESCAPE_QUOTES is working"); + } + else + { + cmFailed("ESCAPE_QUOTES is not working"); + } + // ---------------------------------------------------------------------- // Summary |