summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--QA/Checker/checker.cpp5
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
@@ -9,6 +9,8 @@
#include <string>
#include <sstream>
+#include <boost/algorithm/string/predicate.hpp>
+
#include <gtest/gtest.h>
#include <QA/Checker/CppUnitTestResultPrinter.h>
@@ -43,6 +45,9 @@ int main(int argc, char* argv[]) {
else if (param == "--debug") {
Swift::Log::setLogLevel(Swift::Log::debug);
}
+ else if (boost::starts_with(param, "--")) {
+ continue;
+ }
else {
testsToRun.push_back(param);
}