浏览代码

better args handling for -I options

Ken Martin 21 年之前
父节点
当前提交
3da0f4940a
共有 1 个文件被更改,包括 5 次插入0 次删除
  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;