mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +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