mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
added all graphics 'state' tests
This commit is contained in:
+26
-10
@@ -1,18 +1,34 @@
|
||||
`/Applications/love_12.app/Contents/MacOS/love ./testing`
|
||||
|
||||
## CI
|
||||
- [ ] ignore test suite for windows AMD
|
||||
- [ ] add test run to linux (opengl+vulkan) + ios builds (opengl+metal)
|
||||
|
||||
## TESTSUITE
|
||||
- [ ] finish graphics state methods
|
||||
- [ ] setStencilMode to replace setStencilTest
|
||||
- [ ] start graphics drawing methods
|
||||
- [ ] start object methods
|
||||
|
||||
## GRAPHICS
|
||||
Methods that need a better actual graphics check if possible:
|
||||
- [ ] setDepthMode
|
||||
- [ ] setFrontFaceWinding
|
||||
- [ ] setMeshCullMode
|
||||
|
||||
## FUTURE
|
||||
- [ ] pass in err string returns to the test output
|
||||
maybe even assertNotNil could use the second value automatically
|
||||
test:assertNotNil(love.filesystem.openFile('file2', 'r')) wouldn't have to change
|
||||
- [ ] some joystick/input stuff could be at least nil checked maybe?
|
||||
- [ ] need a platform: format table somewhere for compressed formats (i.e. DXT not supported)
|
||||
could add platform as global to command and then use in tests?
|
||||
could add platform as global to command and then use in tests?
|
||||
- [ ] use coroutines for the delay action? i.e. wrap each test call in coroutine
|
||||
and then every test can use coroutine.yield() if needed
|
||||
- [ ] could nil check some joystick and keyboard methods?
|
||||
|
||||
## GITHUB ACTION CI
|
||||
- [ ] linux needs to run xvfb-run with the appimage
|
||||
- [ ] windows can try installing mesa for opengl replacement
|
||||
- [ ] ios test run?
|
||||
|
||||
Can't run --renderers metal on github action images:
|
||||
Run love-macos/love.app/Contents/MacOS/love testing --renderers metal
|
||||
Cannot create Metal renderer: Metal is not supported on this system.
|
||||
Cannot create graphics: no supported renderer on this system.
|
||||
Error: Cannot create graphics: no supported renderer on this system.
|
||||
|
||||
Can't run test suite on windows as it stands:
|
||||
Unable to create renderer
|
||||
This program requires a graphics card and video drivers which support OpenGL 2.1 or OpenGL ES 2.
|
||||
|
||||
Reference in New Issue
Block a user