Commit Graph

165 Commits

Author SHA1 Message Date
Sebastian Zagrodzki
3b0b2f1a6b consistent skip message 2017-03-09 12:56:46 -05:00
Sebastian Zagrodzki
dcc298126a "-v" for the tests 2017-03-09 12:52:54 -05:00
Sebastian Zagrodzki
aaec52a9c3 more tests failing on travis 2017-03-09 12:43:08 -05:00
Sebastian Zagrodzki
a675c1b487 more tests failing on travis 2017-03-09 12:41:25 -05:00
Sebastian Zagrodzki
76721213eb Skip descriptor test on Travis. 2017-03-09 12:34:49 -05:00
Sebastian Zagrodzki
40d328967b Run all tests. I'll mark the always-failing tests as skipped. 2017-03-09 12:31:14 -05:00
Sebastian Zagrodzki
d6f93e15ab always create the tmp file 2017-03-09 12:28:58 -05:00
Sebastian Zagrodzki
9f8cb55a00 yet another way to escape... 2017-03-09 12:26:29 -05:00
Sebastian Zagrodzki
da066a3744 different escaping 2017-03-09 12:20:34 -05:00
Sebastian Zagrodzki
13a23edf37 go does not support coverage when testing multiple packages. 2017-03-09 12:17:50 -05:00
Sebastian Zagrodzki
5af7134a36 move the coveralls token to env 2017-03-09 12:09:05 -05:00
Sebastian Zagrodzki
fb2d1452c7 Add coveralls support to travis. 2017-03-09 12:03:45 -05:00
zagrodzki
77a5315a11 Merge pull request #38 from kylelemons/context_race
Remove context close race condition
2017-02-24 17:32:22 +01:00
Sebastian Zagrodzki
69f9eb93e2 When terminating the Context, wait for the background goroutine
to sync on c.done channel before exiting.
2017-02-24 09:36:17 +01:00
zagrodzki
6afb417224 Merge pull request #36 from kylelemons/endpoint_tests
Endpoint tests
2017-02-22 23:57:55 +01:00
Sebastian Zagrodzki
577447ecbf s/newRealUSBTransfer/newLibUSBTransfer/ 2017-02-22 23:52:28 +01:00
Sebastian Zagrodzki
313ba15ee6 unexport read/write timeout. 2017-02-22 23:51:36 +01:00
Sebastian Zagrodzki
5fd1c33413 We now use subtests, introduced in Go 1.7. Remove 1.6 from compatibility
check.
2017-02-22 23:36:53 +01:00
Sebastian Zagrodzki
01ec3a240e use named receiver in all methods for nicer indentation. 2017-02-22 23:36:28 +01:00
Sebastian Zagrodzki
9fdd8c7eb8 Rename epSetup to epCfg. 2017-02-22 01:36:36 +01:00
Sebastian Zagrodzki
34c00f398b - more tests, for "out" endpoint. 2017-02-22 01:35:13 +01:00
Sebastian Zagrodzki
ea2d93bbca Merge branch 'master' into endpoint_tests 2017-02-22 01:04:45 +01:00
zagrodzki
304c2feb85 Merge pull request #35 from kylelemons/transfer_tests
Transfer tests
2017-02-22 01:03:48 +01:00
Sebastian Zagrodzki
fc1be79d5d range xfers 2017-02-22 01:00:27 +01:00
Sebastian Zagrodzki
0e46520137 change test slightly, add test for write on in endpoint 2017-02-22 00:58:50 +01:00
Sebastian Zagrodzki
c7c647e701 First tests. 2017-02-19 16:04:16 +01:00
Sebastian Zagrodzki
2efb1a354f Use newEndpoint() for initialization. Add an indirection for
newUSBTransfer.
2017-02-19 15:35:35 +01:00
Sebastian Zagrodzki
360740e76c Cast libusb_transfer explicitly, to make Go 1.8 happy. 2017-02-18 18:13:22 +01:00
Sebastian Zagrodzki
8eaaee4223 Merge remote-tracking branch 'origin/master' into transfer_tests 2017-02-18 18:06:00 +01:00
zagrodzki
343c2fb252 Merge pull request #31 from kylelemons/windows_install_instructions
instructions for windows are simpler now that we use pkgconfig.
2017-02-17 17:06:52 +01:00
zagrodzki
e1b305fe4f Merge pull request #32 from vincentserpoul/master
detach before claim
2017-02-17 09:21:31 +01:00
vincentserpoul
c95e06b5d4 authors 2017-02-17 02:48:47 +08:00
vincentserpoul
303eb08f98 comment nitpicking :) 2017-02-17 02:48:05 +08:00
vincentserpoul
a431f86bcb comment grammar 2017-02-17 02:28:24 +08:00
vincentserpoul
a97a027682 Merge branch 'master' of github.com:vincentserpoul/gousb 2017-02-17 02:00:57 +08:00
vincentserpoul
0a1a8e43cd error handling and bool handling 2017-02-17 02:00:24 +08:00
vincentserpoul
d8e3995f7c improve comment 2017-02-17 02:00:24 +08:00
vincentserpoul
09dcccd0dd add bool handling 2017-02-17 02:00:24 +08:00
vincentserpoul
6586e027a6 remove systematic detach, add SetAutoDetach method 2017-02-17 02:00:24 +08:00
vincentserpoul
7c2897852d detach before claim 2017-02-17 02:00:24 +08:00
Kyle Lemons
f70c565a72 Merge pull request #33 from kylelemons/kylelemons-travis-update
Bump the Ubuntu and Go versions for Travis
2017-02-16 09:37:53 -08:00
vincentserpoul
56fd0d1199 error handling and bool handling 2017-02-17 01:33:51 +08:00
Kyle Lemons
a6b5026fe9 Bump the Ubuntu and Go versions for Travis 2017-02-16 09:33:10 -08:00
vincentserpoul
b13a99c292 improve comment 2017-02-17 01:24:57 +08:00
vincentserpoul
16dcc99997 add bool handling 2017-02-17 01:19:33 +08:00
vincentserpoul
c84750a9d7 remove systematic detach, add SetAutoDetach method 2017-02-17 01:05:34 +08:00
vincentserpoul
a7f2e81ddf detach before claim 2017-02-16 23:41:52 +08:00
Sebastian Zagrodzki
fce1a48eba Endpoint no longer needs cgo. 2017-02-16 12:05:48 +01:00
Sebastian Zagrodzki
99ec211c43 Improve tests - use offsetof to find the position of the iso packet
descriptor in the transfer struct.
2017-02-16 12:04:10 +01:00
Sebastian Zagrodzki
94878756d0 instructions for windows are simpler now that we use pkgconfig. 2017-02-15 20:31:16 +01:00