diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 5ef67e7f7..d84469dbc 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1347,11 +1347,6 @@ bool cmCTestTestHandler::CleanTestOutput(std::string& output, size_t remove_thre bool cmCTestTestHandler::AddTest(const std::vector& args) { const std::string& testname = args[0]; - if (this->m_UseExcludeRegExp && - this->m_UseExcludeRegExpFirst ) - { - abort(); - } if (this->m_UseExcludeRegExp && this->m_UseExcludeRegExpFirst && m_ExcludeTestsRegularExpression.find(testname.c_str()))