mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: Skip tests in the short mode
This commit is contained in:
parent
23dd8bb364
commit
dfc23ee557
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user