Comment test OUTPUT_REQUIRED

This commit is contained in:
Sebastien Barre 2002-01-21 10:22:51 -05:00
parent 252f9fc1b1
commit 5325be37b6
3 changed files with 75 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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