Browse Source

BUG: if a test is not found, it should fail

Bill Hoffman 22 years ago
parent
commit
13753b89c2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/cmCTest.cxx

+ 2 - 1
Source/cmCTest.cxx

@@ -1862,7 +1862,8 @@ void cmCTest::ProcessDirectory(cmCTest::tm_VectorOfStrings &passed,
         {
         std::cerr << "Unable to find executable: " <<
           args[1].Value.c_str() << "\n";
-        m_TestResults.push_back( cres );
+        m_TestResults.push_back( cres ); 
+        failed.push_back(args[0].Value);
         continue;
         }