summaryrefslogtreecommitdiffstats
path: root/Tests/Complex
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-23 01:52:09 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-23 01:52:09 (GMT)
commitb35a73aae50d4a53adf5976c7e9b0ecedfe97489 (patch)
tree0dc15c515799be8847e1ce7bb350cd7e6b521cd4 /Tests/Complex
parent9f98481a65dfb2b70f316dfecfebe722cdfc5de4 (diff)
downloadCMake-b35a73aae50d4a53adf5976c7e9b0ecedfe97489.zip
CMake-b35a73aae50d4a53adf5976c7e9b0ecedfe97489.tar.gz
CMake-b35a73aae50d4a53adf5976c7e9b0ecedfe97489.tar.bz2
remove run program test until run single command is fixed
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/Executable/complex.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 441a291..adf99d7 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -111,35 +111,7 @@ int main()
lib += CMAKE_INTDIR;
lib += "/";
#endif
- std::string exe = lib;
- // Test a single character executable to test a: in makefiles
- exe += "A";
- exe += cmSystemTools::GetExecutableExtension();
- int ret;
- std::string errorMessage;
- if(cmSystemTools::RunSingleCommand(exe.c_str(), 0, &ret))
- {
- if(ret != 10)
- {
- errorMessage += exe;
- errorMessage += " did not return 10";
- }
- }
- else
- {
- errorMessage += exe;
- errorMessage += ": failed to run.";
- }
- if(errorMessage.size())
- {
- cmFailed(errorMessage.c_str());
- }
- else
- {
- cmPassed("run Single Character executable A returned 10 as expected.");
- }
-
lib += cmDynamicLoader::LibPrefix();
lib += "CMakeTestModule";
lib += cmDynamicLoader::LibExtension();