diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-03-20 13:17:25 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-04-01 11:17:43 +0300 |
commit | 4daa6baa202831779291587be04d88b5d5f1586c (patch) | |
tree | acd8b6378301d83707ce98d9bc87a6b04c2c8280 /test | |
parent | a67aaca56b21f334018a5d10e3d5a691bdc4e98a (diff) | |
download | qtlocation-mapboxgl-4daa6baa202831779291587be04d88b5d5f1586c.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.
Diffstat (limited to 'test')
-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 { |