summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-04-16 18:55:15 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-04-16 18:55:15 (GMT)
commit3da0f4940ab84d511e1073122da9be97aac160c8 (patch)
treeb86833ef4396130ec217c01a179a2e4e6275d34d /Source/cmCTest.cxx
parent5c618442d39c424f6cdeea3ed6b76b80e9a2e4b1 (diff)
downloadCMake-3da0f4940ab84d511e1073122da9be97aac160c8.zip
CMake-3da0f4940ab84d511e1073122da9be97aac160c8.tar.gz
CMake-3da0f4940ab84d511e1073122da9be97aac160c8.tar.bz2
better args handling for -I options
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index b2fa28f..3aa1e67 100644
--- a/Source/cmCTest.cxx
+++ b/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;