blagish
3acd7d5789
Update global variable count in integration test
2026-10-23 21:04:16 +04:00
Bret Curtis
6199002d79
Pin openmw.util math conventions from Lua
...
Adds a global integration test that exercises the mod-facing surface directly: util.vector3 * util.vector3 as dot product, util.vector3:length as magnitude, util.vector3:cross as right-handed, util.vector2 * util.vector2 as dot, transform composition applying right-to-left, and Transform:inverse round-trip. openmw.util binds these operators through components/lua/utilpackage.cpp; without an integration test, a future change to that layer or to the underlying maths implementation would silently break existing mods. This test fails loudly instead.
2026-09-17 10:05:39 +02:00
Thomas
a267cc5678
Add per-suite integration settings
2026-09-16 08:59:03 +02:00
Cole Green
1156c64dfd
Merge branch 'vsg/010-render-harness' into 'master'
...
Add openmw.debug.takeScreenshot() and configurable test resolution
See merge request OpenMW/openmw!5600
2026-09-14 07:36:26 -05:00
Bret Curtis
fb8f8b8c2c
Add openmw.debug.takeScreenshot() and configurable test resolution
...
Lua had no way to fire a screenshot. Also stops integration_tests.py merging a
caller's --config settings.cfg into the generated one, which made a same-layer
duplicate that openmw rejects, and unhardcodes the 640x480 test window.
2026-09-12 18:20:20 +02:00
Thomas
2ba8279513
Add a stationary weapon damage test
...
Keep the original navigation and combat scenario under a clearer name.
2026-09-11 10:33:07 +02:00
Thomas and Evil Eye
f2e262264a
Expose the focus ray to Lua
2026-09-03 17:16:15 +02:00
Andrzej Głuszak and Alexei Kotov
06102ac6c1
Add apparatus to openmw.content
2026-08-26 17:29:27 +03:00
elsid
ac8a6b1e10
Make scripts/integration_tests.py more generic to support morrowind tests
...
Do not remove working directory files after tests are finished for
potential debugging.
2026-08-24 23:10:19 +02:00
elsid
e2acaa9e71
Automatically discover Lua tests
...
To avoid duplicated tests registration.
Start discovery by sending an event. First for global tests and the for
local inside global event handler with timeout. Check for duplicates.
Check coroutine status after the end of a test to catch failures not
caused by asserts.
Support bypass in the menu.newGame to start morrowind tests from a menu
script skipping intro video.
Add --list_tests flag to print all found tests.
2026-08-19 23:26:45 +02:00
elsid
fd26d00596
Support tests filtering in Lua integration tests
...
Generate a Lua module by integration_tests.py with configured filter and
load it by test scripts.
2026-07-12 20:10:18 +02:00
Sarah Sunday
987964fcb9
[LINT] remove find_missing_merge_requests.py
2026-05-15 14:16:17 -05:00
Alexei Kotov
d2fbd32a1b
Merge branch 'profiler_be_gone' into 'master'
...
Disable Lua profiler by default
See merge request OpenMW/openmw!5097
2026-04-04 02:07:51 +03:00
Cody Glassman and Alexei Kotov
2b3e24953b
Disable Lua profiler by default
2026-04-04 02:07:47 +03:00
Evil Eye
8ebb981bdb
Add an integration test
2026-03-01 20:58:14 +01:00
elsid
0fb97efa90
Support moving average for timeseries in osg_stats.py
2026-01-31 18:30:55 +01:00
Evil Eye
d147006c64
Add integration test
2025-10-25 11:10:45 +02:00
Cody Glassman and Alexei Kotov
bfc25a3194
Make most weather bindings read/write
2025-08-28 03:22:33 +03:00
Evil Eye
8073c59898
Add integration tests
2025-08-14 14:19:20 +02:00
trav5 and Evil Eye
7f3bc4884e
Add Lua API for the player journal text data
...
This implements #7966 - adds the Lua API read-only access to the player's stored journal text entries (quest & topics data). See the issue ticket for some details on the proposal.
2025-08-13 11:08:10 +02:00
elsid
4433e3c2de
Build path over navmesh for wandering actors
...
Using a path over pathgrid as checkpoints.
This allows to avoid having paths going through obstacles if they are
placed over pathgrid points.
2025-07-27 11:17:17 +02:00
Evil Eye
66b5623bc9
Actually run the new test
2025-07-03 07:37:58 +02:00
Evil Eye
dca8c7c163
Add integration tests for mwscript-magic interactions
2025-07-02 17:03:33 +02:00
Evil Eye
45a51bceb2
Implement equal_to for Color
2025-06-12 17:48:11 +02:00
elsid
178f216317
Add Lua test for passing a NaN value
2025-06-05 23:58:41 +02:00
elsid
2ebdc43bbe
Add test for load while teleporting
...
To reproduce #8311 .
Load game while landracer is scheduled to teleport from different cell.
2025-03-25 23:41:04 +01:00
elsid
536325e0ba
Add test for saving and loading the game
2025-03-25 23:40:58 +01:00
elsid
cbcd4f6acd
Move matchers to different module
2025-03-25 23:24:24 +01:00
elsid
0e19b1dd75
Run Lua integration tests starting with menu script
...
This allows writing tests for menu scripts.
Keep global script as entry point to morrowind tests.
Fix menu.newGame and menu.loadGame to hide main menu.
2025-03-08 13:14:20 +01:00
elsid
7a9c2d5e88
Split local and global event handlers
2025-03-05 22:18:46 +01:00
elsid
981ca957c1
Register global tests to run them
2025-03-05 22:18:46 +01:00
elsid
8b62f02523
Use world.players to initialize player in global tests
2025-03-05 22:18:46 +01:00
elsid
c298210844
Make integration_tests.py output more verbose
...
* Make it look more like googletest.
* Print total and failed number of tests.
* Print failed tests names.
* Print duration of each test and total.
* Hide all logs by default.
2025-03-05 22:18:46 +01:00
elsid
f80c7b2355
Expect openmw.cfg to exist
2025-03-05 22:18:47 +01:00
elsid
7670afcba1
Direct player attack lower by target's half height
...
To make sure it always hits the target.
2025-03-03 00:18:42 +01:00
Evil Eye
c9ffd978ec
Hoist the FileHandle check and add more tests
2025-01-02 15:55:19 +01:00
uramer
30e6821d81
Fix missing y
2024-12-03 06:18:00 +00:00
uramer
19014c9c47
Add end-to-end morrowind test work directory to gitignore
2024-12-02 21:23:52 +01:00
uramer
1675c74036
Fix findPath returning a raw vector
2024-12-02 21:22:29 +01:00
elsid
22817dd6a1
Use normalized path for correctMeshPath
2024-11-16 12:49:11 +01:00
elsid
5b2764e75a
Add Lua test for record model property
2024-11-15 01:54:55 +01:00
Calandiel Elende and psi29a
9248e37156
add OFFENSE_TYPE and commitCrime to lua
2024-10-20 09:37:27 +00:00
Evil Eye
1ac0f27bbd
Add integration tests for the openmw.vfs package
2024-09-14 10:10:01 +02:00
elsid
7998689080
Add test for player's attack
2024-08-27 20:09:19 +02:00
elsid
5f26da01f1
Use the_hub addon from example suite by the integration tests
2024-08-26 21:19:04 +02:00
elsid
eb6dc6e6b0
Keep generated files on integration tests failure
2024-08-26 21:19:03 +02:00
elsid
9006a8fad0
Use landracer addon from example suite by the integration tests
2024-08-26 21:19:03 +02:00
elsid
fa1e574097
Use existing path variables in the generated config
2024-08-26 21:19:03 +02:00
elsid
64ebe08a78
Increase Lua memory limit for integration tests
...
To avoid failures like https://gitlab.com/OpenMW/openmw/-/jobs/7534143520 .
2024-08-08 22:34:52 +02:00
elsid
0c0d544e38
Add test to check Lua memory limit
2024-08-03 13:28:35 +02:00