diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-03-20 13:17:25 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-03-31 11:08:30 +0300 |
commit | 462bcdd8c529d8d6c89656861a7f409a2e17d238 (patch) | |
tree | b847b2e764733f83bed56e54b9715afc4a3de99f | |
parent | 766f7974a110779a44c464cc0687c9e0fda99ce2 (diff) | |
download | qtlocation-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.cpp | 1 |
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 { |