Hajime Hoshi
|
67441c4823
|
internal/testing: avoid os.Exit(0)
os.Exit(0) might cause test flakiness.
https://github.com/hajimehoshi/ebiten/actions/runs/10650734256/job/29522689113
```
panic: unexpected call to os.Exit(0) during test
goroutine 1 [running]:
os.Exit(0x0)
/opt/hostedtoolcache/go/1.23.0/x64/src/os/proc.go:67 +0x8
github.com/hajimehoshi/ebiten/v2/internal/testing.MainWithRunLoop(0x19b28c0)
/home/runner/work/ebiten/ebiten/internal/testing/testing.go:50 +0xa
github.com/hajimehoshi/ebiten/v2/internal/graphicscommand_test.TestMain(...)
/home/runner/work/ebiten/ebiten/internal/graphicscommand/image_test.go:42
main.main()
_testmain.go:55 +0x5
```
|
2024-09-01 13:31:40 +09:00 |
|
Hajime Hoshi
|
4b2a9c3243
|
internal/testing: add the default exit code 1
This confirms that Update is really called.
|
2022-10-02 18:16:16 +09:00 |
|
Terra Brown
|
de35a5a6f1
|
ebiten: add Termination for a regular termination (#2272)
Closes #2266
|
2022-08-27 21:33:40 +09:00 |
|
Hajime Hoshi
|
ca8c36499d
|
ebiten: recommend errors.Is instead of comparing the returned value directly
Closes #2152
|
2022-07-24 23:25:48 +09:00 |
|
Hajime Hoshi
|
aec74aa39b
|
Remove flock from the tests
|
2021-08-22 18:34:35 +09:00 |
|
Hajime Hoshi
|
8f00c8fbf5
|
ebiten: Remove the argument from Update
Fixes #1260
|
2020-10-04 19:33:10 +09:00 |
|
Hajime Hoshi
|
bf515bb594
|
Update version to v2.0.0-alpha
|
2020-10-04 04:30:40 +09:00 |
|
Hajime Hoshi
|
16280e9a5a
|
testing: Use RunGame
|
2020-04-01 18:21:35 +09:00 |
|
Hajime Hoshi
|
47d5c3b5e1
|
Add testing package
|
2020-04-01 18:10:48 +09:00 |
|