Skip descriptor test on Travis.

This commit is contained in:
Sebastian Zagrodzki
2017-03-09 12:34:49 -05:00
parent 40d328967b
commit 76721213eb

View File

@@ -16,12 +16,16 @@
package usb_test
import (
"os"
"testing"
. "github.com/kylelemons/gousb/usb"
)
func TestGetStringDescriptorAscii(t *testing.T) {
if os.Getenv("TRAVIS") == "true" {
t.Skip("This test is known to fail under TravisCI")
}
c := NewContext()
defer c.Close()
c.Debug(0)