From 16b9edd17b89209b4a71804e252bfd5613d224e5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 7 Feb 2005 16:18:02 -0500 Subject: ENH: Added partial test for include regular expressions. --- Tests/Complex/CMakeLists.txt | 2 +- Tests/Complex/Executable/complex.file.cxx | 4 ++++ Tests/ComplexOneConfig/CMakeLists.txt | 2 +- Tests/ComplexOneConfig/Executable/complex.file.cxx | 4 ++++ Tests/ComplexRelativePaths/CMakeLists.txt | 2 +- Tests/ComplexRelativePaths/Executable/complex.file.cxx | 4 ++++ 6 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index c8a0ec3..80df627 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -101,7 +101,7 @@ INCLUDE_DIRECTORIES(BEFORE ${Complex_BINARY_DIR} ) -INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^$") +INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^cmMissing") LINK_DIRECTORIES( ${Complex_BINARY_DIR}/Library diff --git a/Tests/Complex/Executable/complex.file.cxx b/Tests/Complex/Executable/complex.file.cxx index 34d02ea..e873fa6 100644 --- a/Tests/Complex/Executable/complex.file.cxx +++ b/Tests/Complex/Executable/complex.file.cxx @@ -1,3 +1,7 @@ +#if 0 +#include "cmMissingHeader.h" +#endif + int main(int , char**) { return 0; diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index c8a0ec3..80df627 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -101,7 +101,7 @@ INCLUDE_DIRECTORIES(BEFORE ${Complex_BINARY_DIR} ) -INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^$") +INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^cmMissing") LINK_DIRECTORIES( ${Complex_BINARY_DIR}/Library diff --git a/Tests/ComplexOneConfig/Executable/complex.file.cxx b/Tests/ComplexOneConfig/Executable/complex.file.cxx index 34d02ea..e873fa6 100644 --- a/Tests/ComplexOneConfig/Executable/complex.file.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.file.cxx @@ -1,3 +1,7 @@ +#if 0 +#include "cmMissingHeader.h" +#endif + int main(int , char**) { return 0; diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index c8a0ec3..80df627 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -101,7 +101,7 @@ INCLUDE_DIRECTORIES(BEFORE ${Complex_BINARY_DIR} ) -INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^$") +INCLUDE_REGULAR_EXPRESSION("^(cmTest|file|sharedFile).*$" "^cmMissing") LINK_DIRECTORIES( ${Complex_BINARY_DIR}/Library diff --git a/Tests/ComplexRelativePaths/Executable/complex.file.cxx b/Tests/ComplexRelativePaths/Executable/complex.file.cxx index 34d02ea..e873fa6 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.file.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.file.cxx @@ -1,3 +1,7 @@ +#if 0 +#include "cmMissingHeader.h" +#endif + int main(int , char**) { return 0; -- cgit v0.12