Skip to content

Commit

Permalink
Fix macos tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Sep 28, 2023
1 parent 094582a commit b7180f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/libhictk/balancing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ target_link_system_libraries(
bshoshany-thread-pool::bshoshany-thread-pool
nonstd::span-lite
phmap
xxHash::xxhash
xxHash::xxhash
"zstd::libzstd_$<IF:$<BOOL:${BUILD_SHARED_LIBS}>,shared,static>")

target_compile_definitions(balancing INTERFACE span_FEATURE_MAKE_SPAN=1)
10 changes: 5 additions & 5 deletions test/units/balancing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ target_link_system_libraries(
Catch2::Catch2WithMain
std::filesystem)

file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/Testing/)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/Testing/")

# automatically discover tests that are defined in catch based test files you can modify the unittests. TEST_PREFIX to
# whatever you want, or use different for different binaries
Expand All @@ -33,9 +33,9 @@ catch_discover_tests(
TEST_SUFFIX
" - SHORT"
WORKING_DIRECTORY
${PROJECT_SOURCE_DIR}
"${PROJECT_SOURCE_DIR}"
OUTPUT_DIR
${CMAKE_CURRENT_SOURCE_DIR}/Testing/
"${CMAKE_CURRENT_BINARY_DIR}/Testing/"
EXTRA_ARGS
--success
--skip-benchmarks)
Expand All @@ -47,7 +47,7 @@ catch_discover_tests(
TEST_SUFFIX
" - MEDIUM"
WORKING_DIRECTORY
${PROJECT_SOURCE_DIR}
"${PROJECT_SOURCE_DIR}"
EXTRA_ARGS
--success
--skip-benchmarks)
Expand All @@ -59,7 +59,7 @@ catch_discover_tests(
TEST_SUFFIX
" - LONG"
WORKING_DIRECTORY
${PROJECT_SOURCE_DIR}
"${PROJECT_SOURCE_DIR}"
EXTRA_ARGS
--success
--skip-benchmarks)

0 comments on commit b7180f3

Please sign in to comment.