Skip to content

Commit

Permalink
Merge pull request #1555 from janbar/overriding_read_write_lock
Browse files Browse the repository at this point in the history
Overriding read write lock
  • Loading branch information
Framstag committed Feb 9, 2024
2 parents 7bd7ded + 2ae9b4d commit 16af10b
Show file tree
Hide file tree
Showing 16 changed files with 1,078 additions and 28 deletions.
3 changes: 3 additions & 0 deletions Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ osmscout_test_project(NAME ColorParse SOURCES src/ColorParse.cpp)
#---- CoordinateEncoding
osmscout_test_project(NAME CoordinateEncoding SOURCES src/CoordinateEncoding.cpp COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/data/testregion")

#---- Latch
osmscout_test_project(NAME Latch SOURCES src/Latch.cpp)

#---- LocationLookup
osmscout_test_project(NAME LocationLookupTest SOURCES src/LocationServiceTest.cpp src/SearchForLocationByStringTest.cpp src/SearchForLocationByFormTest.cpp src/SearchForPOIByFormTest.cpp TARGET OSMScout::Test OSMScout::Import)
set_source_files_properties(src/SearchForLocationByStringTest.cpp src/SearchForLocationByFormTest.cpp src/SearchForPOIByFormTest.cpp src/LocationServiceTest.cpp PROPERTIES SKIP_UNITY_BUILD_INCLUSION TRUE)
Expand Down
10 changes: 10 additions & 0 deletions Tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,16 @@ HeaderCheck = executable('HeaderCheck',

test('Check use of \'<\'...\'>\' for includes', HeaderCheck, env: headerCheckEnv)

Latch = executable('Latch',
'src/Latch.cpp',
include_directories: [testIncDir, osmscoutIncDir],
dependencies: [mathDep, threadDep, openmpDep],
link_with: [osmscout],
install: true,
install_dir: testInstallDir)

test('Check latch consistency', Latch)

if buildImport
LocationServiceTest = executable('LocationServiceTest',
[
Expand Down
Loading

0 comments on commit 16af10b

Please sign in to comment.