ebiten: Skip tests in the short mode

This commit is contained in:
Hajime Hoshi 2020-08-19 23:11:54 +09:00
parent 23dd8bb364
commit dfc23ee557

View File

@ -35,6 +35,10 @@ import (
)
func skipTooSlowTests(t *testing.T) bool {
if testing.Short() {
t.Skip("skipping test in short mode")
return true
}
if web.IsGopherJS() {
t.Skip("too slow on GopherJS")
return true