Browse Source

better args handling for -I options

Ken Martin 21 years ago
parent
commit
3da0f4940a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Source/cmCTest.cxx

+ 5 - 0
Source/cmCTest.cxx

@@ -4857,6 +4857,11 @@ void cmCTest::SetTestsToRunInformation(const char* in)
 
 void cmCTest::ExpandTestsToRunInformation(int numTests)
 {
+  if (this->TestsToRunString.empty())
+    {
+    return;
+    }
+  
   int start = -1;
   int end = -1;
   int stride = -1;