mu-logger: Add lock for file-logger and stress test
Add a lock to the file logger and add a unit-test to stress test it. (It does fail without the lock, and passed with it). Should help for: #2469.
This commit is contained in:
@ -65,4 +65,10 @@ test('test-utils-file',
|
||||
cpp_args: ['-DBUILD_TESTS'],
|
||||
dependencies: [glib_dep, config_h_dep, lib_mu_utils_dep]))
|
||||
|
||||
test('test-logger',
|
||||
executable('test-logger', 'mu-logger.cc',
|
||||
install: false,
|
||||
cpp_args: ['-DBUILD_TESTS'],
|
||||
dependencies: [glib_dep, lib_mu_utils_dep]))
|
||||
|
||||
subdir('tests')
|
||||
|
||||
Reference in New Issue
Block a user