diff options
author | Nathan Hjelm <hjelmn@google.com> | 2023-02-13 11:04:11 -0700 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2023-03-12 12:47:08 +0100 |
commit | 71dd672abe52d7c3a9c61373888a32984f0792a7 (patch) | |
tree | 20e40e1ca313ed052ccca7a663360aef4b03b937 /.private | |
parent | d2da7f9b1d52e55142775497ca170d9001e72c16 (diff) | |
download | libusb-71dd672abe52d7c3a9c61373888a32984f0792a7.tar.gz |
tests: Add unit test for libusb_set_option
The behavior of libusb_set_option was not matching the documentation
when the log level was set in the environment. This has been fixed but a
regression test is needed to ensure the behavior does not deviate. This
commit adds a set of unit tests to cover some of the functionality of
libusb_set_option.
Closes #1245
Signed-off-by: Nathan Hjelm <hjelmn@google.com>
[Xiaofan: Add Windows setenv/unsetenv wrappers]
Signed-off-by: Xiaofan Chen <xiaofanc@gmail.com>
[Tormod: Fix test_no_discovery() build on Linux, add msvc build]
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to '.private')
0 files changed, 0 insertions, 0 deletions