diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-01-21 15:22:51 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-01-21 15:22:51 (GMT) |
commit | 5325be37b6ffd57ce3ce3aeca64b759ce032cc82 (patch) | |
tree | 3a881386430b7c72d78b0b1a7b4b785c3bc7e687 /Tests/ComplexRelativePaths/Executable | |
parent | 252f9fc1b16611dac74345b4612ef0ce3ff437ff (diff) | |
download | CMake-5325be37b6ffd57ce3ce3aeca64b759ce032cc82.zip CMake-5325be37b6ffd57ce3ce3aeca64b759ce032cc82.tar.gz CMake-5325be37b6ffd57ce3ce3aeca64b759ce032cc82.tar.bz2 |
Comment test OUTPUT_REQUIRED
Diffstat (limited to 'Tests/ComplexRelativePaths/Executable')
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index 8707937..a5bba20 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -277,6 +277,30 @@ int main() cmPassed("SHOULD_BE_DEFINED_COMMAND2 is defined."); #endif +#ifdef SHOULD_NOT_BE_DEFINED_EXISTS + cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_EXISTS is defined."); +#else + cmPassed("SHOULD_NOT_BE_DEFINED_EXISTS is not defined."); +#endif + +#ifndef SHOULD_BE_DEFINED_EXISTS + cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_EXISTS is not defined.\n"); +#else + cmPassed("SHOULD_BE_DEFINED_EXISTS is defined."); +#endif + +#ifdef SHOULD_NOT_BE_DEFINED_EXISTS2 + cmFailed("IF or SET is broken, SHOULD_NOT_BE_DEFINED_EXISTS2 is defined."); +#else + cmPassed("SHOULD_NOT_BE_DEFINED_EXISTS2 is not defined."); +#endif + +#ifndef SHOULD_BE_DEFINED_EXISTS2 + cmFailed("IF or SET is broken, SHOULD_BE_DEFINED_EXISTS2 is not defined.\n"); +#else + cmPassed("SHOULD_BE_DEFINED_EXISTS2 is defined."); +#endif + // ---------------------------------------------------------------------- // Test FOREACH @@ -480,7 +504,7 @@ int main() // The files required by 'complex' have been output to a file. // The contents of this file is not tested (absolute paths). - TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt"); + // TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt"); // ---------------------------------------------------------------------- // Summary |