Commit Graph

5058 Commits

Author SHA1 Message Date
Sasha Szpakowski a6ae0ae10d tests: more tolerance for sleep overshooting its time
CI machines can take a while doing some other thing during a sleep.
2023-12-12 20:16:51 -04:00
Sasha Szpakowski e6af895b01 tests: video play/pause time test waits for less time 2023-12-12 19:55:38 -04:00
Sasha Szpakowski 6715bae0c3 tests: add waitSeconds method 2023-12-12 19:53:56 -04:00
Sasha Szpakowski 1f38b77bab tests: sleep for a shorter time in getTime test 2023-12-12 19:53:38 -04:00
Sasha Szpakowski e413f0c033 tests: sleep for a shorter time 2023-12-12 19:38:39 -04:00
Sasha Szpakowski 4b9f4f77e9 tests: fix invalid effect volumes.
OpenAL prints an error when they're out of range.
2023-12-12 19:36:47 -04:00
Sasha Szpakowski a51ea9430b Merge pull request #1989 from ellraiser/12.0-development
test suite cleanup + updates
2023-12-10 17:56:02 -04:00
ell eda26b3574 Update joystick.lua 2023-12-10 21:41:50 +00:00
Sasha Szpakowski 0df51cf743 Windows: update build version in love.rc 2023-12-09 21:01:55 -04:00
Sasha Szpakowski 444ab6311b Workaround for Windows 7 runtime compatibility 2023-12-09 19:41:52 -04:00
ell 6a2ba9322e tweaks for hardware tests 2023-12-05 10:26:24 +00:00
ell 2875a96e92 test updates
- update main love readme to include note on tests
- added module tests for Sensor, Keyboard, Touch, Joystick, Mouse, and Love (for hooks + basic love-level methods)
- general clean-up of main class logic
- couple fixes for runner-specific failures (physics.Joint, audio.getActiveSourceCount, mouse.getPosition)
- change window.close test to run last
2023-12-04 16:13:38 +00:00
Sasha Szpakowski 6eb8d54673 Release date 11.5 2023-12-03 08:44:36 -04:00
Sasha Szpakowski 62d17371ca macOS xcode project: update deployment target to macOS 10.11
When it's set to earlier versions, love fails to link when new versions of the macOS SDK are used.
2023-12-02 15:37:44 -04:00
Sasha Szpakowski 8951635abc Merge branch 'main' into 12.0-development 2023-12-02 13:40:49 -04:00
Sasha Szpakowski 36783d30f0 Merge pull request #1974 from ellraiser/12.0-testsuite
basic API test suite
2023-11-29 20:45:36 -04:00
Sasha Szpakowski 30009dbe2c Merge pull request #1988 from sewbacca/fix/mingw-utf16
MinGW: Adapt to utf-16 encoded love.rc
2023-11-28 21:45:14 -04:00
ell 13c5f7ac34 Merge remote-tracking branch 'upstream/12.0-development' into 12.0-testsuite 2023-11-28 15:15:48 +00:00
Sewbacca 76fcc5bc3d MinGW: Support utf-16 encoded love.rc 2023-11-28 16:11:07 +01:00
Sasha Szpakowski 696007ee39 Don't unconditionally run love.jitsetup when love is used as a library 2023-11-27 23:14:36 -04:00
Miku AuahDark 6a298a74c2 jitsetup: Also disable JIT on ARM32 platform. 2023-11-27 12:47:23 +08:00
Miku AuahDark f4f3105ccd Call love.jitsetup during thread initialization too. 2023-11-27 12:13:56 +08:00
Miku AuahDark da3fdba7f4 Android: Remove calls to luaJIT_setmode.
Turning off JIT is now done in jitsetup.lua.
2023-11-27 11:35:37 +08:00
Sasha Szpakowski d21c9cb6de macOS/arm64: turn off JIT compilation by default. 2023-11-26 17:11:34 -04:00
Sasha Szpakowski aa0a0bdf7a iOS: remove LuaJIT build script.
It's been moved to the love-apple-dependencies repository.
2023-11-26 14:23:49 -04:00
Miku AuahDark 788e58b315 Revert love.rc changes from #1985. 2023-11-27 00:01:43 +08:00
Sasha Szpakowski e3a0ba3737 Merge pull request #1985 from sewbacca/feature/mingw
MinGW / MSYS2 Support
2023-11-26 11:52:13 -04:00
Sewbacca 11d4bdd1a3 Add support for MinGW 2023-11-26 15:00:34 +01:00
Sasha Szpakowski 910533edda Initial code for sending flat-array matrices to storage buffers (untested). 2023-11-24 14:12:47 -04:00
ell cc4b618a42 Update physics.lua 2023-11-23 13:57:07 +00:00
ell d6c779643f fix some ranges for runners 2023-11-23 13:17:09 +00:00
ell c5fb1a7f4e Merge remote-tracking branch 'upstream/12.0-development' into 12.0-testsuite 2023-11-23 13:16:35 +00:00
ell f846d4ab91 review changes
- spaced out object class tests and added more defined comment groups

- changed reusing vars in case it causes unexpected asserts in future

- fixed some shape:point test having wrong params

- added assertTrue + assertFalse for basic checks

- used assertRange more for some of the physics + audio tests
2023-11-23 12:52:54 +00:00
Sasha Szpakowski 69dbb15027 Fix return value of Shape:testPoint. 2023-11-22 19:43:09 -04:00
ell 63d303a22f make workflow fail if tests fail 2023-11-22 23:15:07 +00:00
ell 825e46621e finished obj tests
- added physics.Contact, physics.Body, and physics.Shape obj tests
- added graphics.Mesh and graphics.ParticleSystem obj tests
- fixed some rgba tolerance needed on a couple methods
- added test conclusion to zip artifact name for quick checking on PRs
- ignored testsuite on compat mode windows builds
2023-11-20 20:05:30 +00:00
Sasha Szpakowski 99e7022d2d iOS: alphabetically sort .love file list.
Fixes #1984.
2023-11-18 13:44:41 -04:00
ellraiser 1ef183c3c7 Update main.yml 2023-11-17 20:19:51 +00:00
ellraiser eba8ccb748 Update main.yml 2023-11-17 19:37:56 +00:00
ellraiser a977ad290b revert 2023-11-17 17:15:46 +00:00
ellraiser 51c2aa8cf8 specify write for action permission 2023-11-17 17:00:17 +00:00
ell 89119c554a add runner exceptions to readme 2023-11-17 12:19:56 +00:00
ell a8c714bc89 change to exact rgba comparison for visual tests 2023-11-17 00:11:32 +00:00
ell d1307584e5 add graphics pixel comparison tests
- added an automatic check for expected vs actual with the images already shown in the report - used a 1px tolerance for now for each of the pixels checked
2023-11-16 23:28:50 +00:00
ell 37961f92d6 floor joint pos 2023-11-16 22:09:31 +00:00
ell adc6fbea4c added test.physics.Joint 2023-11-16 21:54:01 +00:00
ell 8124804d49 more graphics + some physics tests
- added obj tests for graphics.SpriteBatch, and graphics.Video
- added obj tests for physics.World
- added test for setStencilMode and removed deprecated stencil+setStencilTest
- added graphics.drawInstanced
- fixed deprecated physic shape calls (body now added as first param)
2023-11-16 19:22:40 +00:00
Sasha Szpakowski 20ffe94349 vulkan: fix a consistency issue with texture samplers 2023-11-15 23:15:27 -04:00
ell 1323bb1452 ignore setMipmapFilter on opengl ES 2023-11-15 20:34:34 +00:00
ell 0ef417f60c fix test.graphics.Canvas 2023-11-15 19:54:14 +00:00