Commit a4917d3f authored by Marco Bubke's avatar Marco Bubke

Clang: Disable logging by default in unit tests

Change-Id: I489cec1dcbcfba71dfa6679e8d90bbf8c8d0a867
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 210228da
......@@ -33,6 +33,7 @@
#include <cmbmessages.h>
#include <QCoreApplication>
#include <QLoggingCategory>
#include <gtest/gtest.h>
#include "gtest-qt-printing.h"
......@@ -44,6 +45,8 @@ int main(int argc, char *argv[])
QCoreApplication application(argc, argv);
QLoggingCategory::setFilterRules(QStringLiteral("*.info=false\n*.debug=false\n*.warning=false"));
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment