From 0660ea09c5654b53008b12455c213dfc142c3330 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Mon, 21 Jan 2002 15:30:37 -0500 Subject: Add warnings/infos --- Tests/Complex/Executable/complex.cxx | 12 ++++++++++++ Tests/ComplexOneConfig/Executable/complex.cxx | 12 ++++++++++++ Tests/ComplexRelativePaths/Executable/complex.cxx | 12 ++++++++++++ 3 files changed, 36 insertions(+) diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index a5bba20..b0b7b6c 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -485,12 +485,20 @@ int main() // ---------------------------------------------------------------------- // A post-build custom-command has been attached to the lib (see Library/). // It runs ${CREATE_FILE_EXE} which will create a file. + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. TestAndRemoveFile(BINARY_DIR "/Library/postbuild.txt"); // ---------------------------------------------------------------------- // A custom target has been created (see Library/). // It runs ${CREATE_FILE_EXE} which will create a file. + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. TestAndRemoveFile(BINARY_DIR "/Library/custom_target1.txt"); @@ -503,6 +511,10 @@ int main() // Test OUTPUT_REQUIRED_FILES // The files required by 'complex' have been output to a file. // The contents of this file is not tested (absolute paths). + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. // TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt"); diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index a5bba20..b0b7b6c 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -485,12 +485,20 @@ int main() // ---------------------------------------------------------------------- // A post-build custom-command has been attached to the lib (see Library/). // It runs ${CREATE_FILE_EXE} which will create a file. + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. TestAndRemoveFile(BINARY_DIR "/Library/postbuild.txt"); // ---------------------------------------------------------------------- // A custom target has been created (see Library/). // It runs ${CREATE_FILE_EXE} which will create a file. + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. TestAndRemoveFile(BINARY_DIR "/Library/custom_target1.txt"); @@ -503,6 +511,10 @@ int main() // Test OUTPUT_REQUIRED_FILES // The files required by 'complex' have been output to a file. // The contents of this file is not tested (absolute paths). + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. // TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt"); diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index a5bba20..b0b7b6c 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -485,12 +485,20 @@ int main() // ---------------------------------------------------------------------- // A post-build custom-command has been attached to the lib (see Library/). // It runs ${CREATE_FILE_EXE} which will create a file. + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. TestAndRemoveFile(BINARY_DIR "/Library/postbuild.txt"); // ---------------------------------------------------------------------- // A custom target has been created (see Library/). // It runs ${CREATE_FILE_EXE} which will create a file. + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. TestAndRemoveFile(BINARY_DIR "/Library/custom_target1.txt"); @@ -503,6 +511,10 @@ int main() // Test OUTPUT_REQUIRED_FILES // The files required by 'complex' have been output to a file. // The contents of this file is not tested (absolute paths). + // + // WARNING: if you run 'complex' manually, this *will* fail, because + // the file was removed the last time 'complex' was run, and it is + // only created during a build. // TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt"); -- cgit v0.12