Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macos test from upstream #24

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ add_test(NAME stress_mt COMMAND stress_mt)

add_libusb_test(set_option "set_option.c")
add_libusb_test(init_context "init_context.c")

# the Darwin backend has special backdoor for this test,
# which is only available in static builds
if(APPLE AND NOT LIBUSB_BUILD_SHARED_LIBS)
add_libusb_test(macos "macos.c")
endif()
Loading