Explorar o código

Add warnings/infos

Sebastien Barre %!s(int64=24) %!d(string=hai) anos
pai
achega
0660ea09c5

+ 12 - 0
Tests/Complex/Executable/complex.cxx

@@ -485,12 +485,20 @@ int main()
   // ----------------------------------------------------------------------
   // ----------------------------------------------------------------------
   // A post-build custom-command has been attached to the lib (see Library/).
   // A post-build custom-command has been attached to the lib (see Library/).
   // It runs ${CREATE_FILE_EXE} which will create a file.
   // 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");
   TestAndRemoveFile(BINARY_DIR "/Library/postbuild.txt");
 
 
   // ----------------------------------------------------------------------
   // ----------------------------------------------------------------------
   // A custom target has been created (see Library/).
   // A custom target has been created (see Library/).
   // It runs ${CREATE_FILE_EXE} which will create a file.
   // 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");
   TestAndRemoveFile(BINARY_DIR "/Library/custom_target1.txt");
 
 
@@ -503,6 +511,10 @@ int main()
   // Test OUTPUT_REQUIRED_FILES
   // Test OUTPUT_REQUIRED_FILES
   // The files required by 'complex' have been output to a file.
   // The files required by 'complex' have been output to a file.
   // The contents of this file is not tested (absolute paths).
   // 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");
   // TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt");
 
 

+ 12 - 0
Tests/ComplexOneConfig/Executable/complex.cxx

@@ -485,12 +485,20 @@ int main()
   // ----------------------------------------------------------------------
   // ----------------------------------------------------------------------
   // A post-build custom-command has been attached to the lib (see Library/).
   // A post-build custom-command has been attached to the lib (see Library/).
   // It runs ${CREATE_FILE_EXE} which will create a file.
   // 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");
   TestAndRemoveFile(BINARY_DIR "/Library/postbuild.txt");
 
 
   // ----------------------------------------------------------------------
   // ----------------------------------------------------------------------
   // A custom target has been created (see Library/).
   // A custom target has been created (see Library/).
   // It runs ${CREATE_FILE_EXE} which will create a file.
   // 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");
   TestAndRemoveFile(BINARY_DIR "/Library/custom_target1.txt");
 
 
@@ -503,6 +511,10 @@ int main()
   // Test OUTPUT_REQUIRED_FILES
   // Test OUTPUT_REQUIRED_FILES
   // The files required by 'complex' have been output to a file.
   // The files required by 'complex' have been output to a file.
   // The contents of this file is not tested (absolute paths).
   // 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");
   // TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt");
 
 

+ 12 - 0
Tests/ComplexRelativePaths/Executable/complex.cxx

@@ -485,12 +485,20 @@ int main()
   // ----------------------------------------------------------------------
   // ----------------------------------------------------------------------
   // A post-build custom-command has been attached to the lib (see Library/).
   // A post-build custom-command has been attached to the lib (see Library/).
   // It runs ${CREATE_FILE_EXE} which will create a file.
   // 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");
   TestAndRemoveFile(BINARY_DIR "/Library/postbuild.txt");
 
 
   // ----------------------------------------------------------------------
   // ----------------------------------------------------------------------
   // A custom target has been created (see Library/).
   // A custom target has been created (see Library/).
   // It runs ${CREATE_FILE_EXE} which will create a file.
   // 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");
   TestAndRemoveFile(BINARY_DIR "/Library/custom_target1.txt");
 
 
@@ -503,6 +511,10 @@ int main()
   // Test OUTPUT_REQUIRED_FILES
   // Test OUTPUT_REQUIRED_FILES
   // The files required by 'complex' have been output to a file.
   // The files required by 'complex' have been output to a file.
   // The contents of this file is not tested (absolute paths).
   // 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");
   // TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt");