mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +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 {
|
func skipTooSlowTests(t *testing.T) bool {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("skipping test in short mode")
|
||||||
|
return true
|
||||||
|
}
|
||||||
if web.IsGopherJS() {
|
if web.IsGopherJS() {
|
||||||
t.Skip("too slow on GopherJS")
|
t.Skip("too slow on GopherJS")
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user