summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2020-03-20 13:17:25 +0200
committerJuha Alanen <juha.alanen@mapbox.com>2020-03-31 11:08:30 +0300
commit462bcdd8c529d8d6c89656861a7f409a2e17d238 (patch)
treeb847b2e764733f83bed56e54b9715afc4a3de99f
parent766f7974a110779a44c464cc0687c9e0fda99ce2 (diff)
downloadqtlocation-mapboxgl-462bcdd8c529d8d6c89656861a7f409a2e17d238.tar.gz
[test] Disable logging thread
some tests are counting the number of logs to determine pass/fail so disable separate logging thread for them.
-rw-r--r--test/src/mbgl/test/fixture_log_observer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/mbgl/test/fixture_log_observer.cpp b/test/src/mbgl/test/fixture_log_observer.cpp
index d768c0284a..b27795abb4 100644
--- a/test/src/mbgl/test/fixture_log_observer.cpp
+++ b/test/src/mbgl/test/fixture_log_observer.cpp
@@ -60,6 +60,7 @@ size_t FixtureLog::Observer::count(const Message& message, bool substring) const
FixtureLog::FixtureLog() : observer(new FixtureLogObserver(this)) {
Log::setObserver(std::unique_ptr<Log::Observer>(observer));
+ Log::useLogThread(false);
}
bool FixtureLog::empty() const {