diff options
Diffstat (limited to 'QA/Checker/checker.cpp')
| -rw-r--r-- | QA/Checker/checker.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/QA/Checker/checker.cpp b/QA/Checker/checker.cpp index 3cc7713..f4ec6f1 100644 --- a/QA/Checker/checker.cpp +++ b/QA/Checker/checker.cpp @@ -7,10 +7,12 @@ #include <cstdlib> #include <fstream> #include <string> #include <sstream> +#include <boost/algorithm/string/predicate.hpp> + #include <gtest/gtest.h> #include <QA/Checker/CppUnitTestResultPrinter.h> #include <cppunit/BriefTestProgressListener.h> #include <cppunit/TextOutputter.h> @@ -41,10 +43,13 @@ int main(int argc, char* argv[]) { outputXML = true; } else if (param == "--debug") { Swift::Log::setLogLevel(Swift::Log::debug); } + else if (boost::starts_with(param, "--")) { + continue; + } else { testsToRun.push_back(param); } } |
Swift