diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 4 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 4 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 4 | ||||
-rw-r--r-- | Tests/Fortran/CMakeLists.txt | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index 29bf4cd..adf99d7 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -118,9 +118,9 @@ int main() cmLibHandle handle = cmDynamicLoader::OpenLibrary(lib.c_str()); if(!handle) { - std::string err = "Can not open CMakeTestModule:"; + std::string err = "Can not open CMakeTestModule:\n"; err += lib; - cmFailed(lib.c_str()); + cmFailed(err.c_str()); } else { diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index 29bf4cd..adf99d7 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -118,9 +118,9 @@ int main() cmLibHandle handle = cmDynamicLoader::OpenLibrary(lib.c_str()); if(!handle) { - std::string err = "Can not open CMakeTestModule:"; + std::string err = "Can not open CMakeTestModule:\n"; err += lib; - cmFailed(lib.c_str()); + cmFailed(err.c_str()); } else { diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index 29bf4cd..adf99d7 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -118,9 +118,9 @@ int main() cmLibHandle handle = cmDynamicLoader::OpenLibrary(lib.c_str()); if(!handle) { - std::string err = "Can not open CMakeTestModule:"; + std::string err = "Can not open CMakeTestModule:\n"; err += lib; - cmFailed(lib.c_str()); + cmFailed(err.c_str()); } else { diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt index 1a90130..a10f61f 100644 --- a/Tests/Fortran/CMakeLists.txt +++ b/Tests/Fortran/CMakeLists.txt @@ -1,2 +1,2 @@ -PROJECT(testf FORTRAN) +PROJECT(testf Fortran) ADD_EXECUTABLE(testf hello.f) |